From 25330333a175fc100a23c210bda26e4255349b3b Mon Sep 17 00:00:00 2001 From: devil_gong Date: Wed, 27 Feb 2019 10:28:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E7=99=BB=E5=BD=95=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/service/BuyService.php | 2 +- public/appmini/old/weixin/app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/service/BuyService.php b/application/service/BuyService.php index 98416c658..5f08bbe05 100755 --- a/application/service/BuyService.php +++ b/application/service/BuyService.php @@ -398,7 +398,7 @@ class BuyService $ret['data'][0]['stock'] = $params['stock']; $ret['data'][0]['total_price'] = $params['stock']*$ret['data'][0]['price']; - return DataReturn('操作成功', 0, $goods); + return DataReturn('操作成功', 0, $ret['data']); } /** diff --git a/public/appmini/old/weixin/app.js b/public/appmini/old/weixin/app.js index 39a9059d4..b33204a18 100755 --- a/public/appmini/old/weixin/app.js +++ b/public/appmini/old/weixin/app.js @@ -60,7 +60,7 @@ App({ // 请求地址 request_url: "{{request_url}}", - //request_url: 'https://test.shopxo.net/', + request_url: 'https://test.shopxo.net/', // 基础信息 application_title: "{{application_title}}",