From 11e64947df0cce953c595fdeac0bb262a03e9dfd Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 15 Dec 2020 15:58:15 +0800 Subject: [PATCH 1/2] =?UTF-8?q?12=E6=9C=88=E5=8A=9F=E8=83=BD=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Payment/Controller/PaymentController.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Application/Payment/Controller/PaymentController.class.php b/Application/Payment/Controller/PaymentController.class.php index 35c8b4ded..8f69cc1fe 100644 --- a/Application/Payment/Controller/PaymentController.class.php +++ b/Application/Payment/Controller/PaymentController.class.php @@ -1092,6 +1092,7 @@ class PaymentController extends BaseController if ($sv['statement_money'] < 0) { $subtraction += -($sv['statement_money']); + $sv['final_statement_money'] = 0; } elseif($sv['statement_money'] > 0 && $subtraction > 0) { if($sv['statement_money'] >= $subtraction) { $sv['final_statement_money'] = $sv['statement_money']-$subtraction; From 0d9dd3b22e140a95797d3be740aa87a2400d4901 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 15 Dec 2020 16:10:47 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=9F=AD=E4=BF=A1=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E4=B8=87=E8=83=BD=E9=AA=8C=E8=AF=81=E7=A0=81=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E5=BC=80=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Payment/Controller/PublicController.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/Payment/Controller/PublicController.class.php b/Application/Payment/Controller/PublicController.class.php index 60c0664d5..48a41f7bb 100644 --- a/Application/Payment/Controller/PublicController.class.php +++ b/Application/Payment/Controller/PublicController.class.php @@ -130,9 +130,9 @@ class PublicController extends \Think\Controller public function checksafecode($phone, $code) { //测试验证码 -// if($code == "txsb0601"){ -// return true; -// } + if($code == "txsb0601"){ + return true; + } $taskClient = new TaskClient(); $result = $taskClient->checkSms($phone, $code); $data = [];