From 452c143843f69aaf6b6c063b0163b290d35d0212 Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Tue, 12 Nov 2019 17:40:45 +0800 Subject: [PATCH] =?UTF-8?q?ios=20=E5=85=BC=E5=AE=B9=E6=97=A7=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/AppleController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Sdk/Controller/AppleController.class.php b/Application/Sdk/Controller/AppleController.class.php index 3f2bfc56..da400c81 100644 --- a/Application/Sdk/Controller/AppleController.class.php +++ b/Application/Sdk/Controller/AppleController.class.php @@ -171,7 +171,7 @@ class AppleController extends BaseController{ echo json_encode(['code'=>0,'msg'=>'订单已经存在,请刷新充值页面重新下单!','wap'=>1]); exit; } - $this->add_spend($request,1); + $this->add_spend($request,1, 0); }else{ $this->add_deposit($request, 1); } @@ -409,7 +409,7 @@ class AppleController extends BaseController{ if($is_pay['status']==1){ if($request['code']==1){ - $this->add_spend($request,1); + $this->add_spend($request,1, 0); }else{ $this->add_deposit($request, 1); }