From d47b6a3fad9b942c5273a24af3998d119c6b6d4f Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 15 Dec 2020 16:40:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E9=AA=8C=E8=AF=81=E7=A0=81?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=A6=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Payment/Controller/PaymentController.class.php | 2 +- Application/Payment/View/Payment/edit.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Payment/Controller/PaymentController.class.php b/Application/Payment/Controller/PaymentController.class.php index 8f69cc1fe..4c8890869 100644 --- a/Application/Payment/Controller/PaymentController.class.php +++ b/Application/Payment/Controller/PaymentController.class.php @@ -758,7 +758,7 @@ class PaymentController extends BaseController if ($data['id'] == 1 && $hav_mobile['mobile']!=$data['mobile']) { $verify = $_REQUEST['verify']; - if (!A("Public")->checksafecode($data['mobile'], $verify)) { + if (!A("Public")->checksafecode($data['old_mobile'], $verify)) { $this->ajaxReturn(['status'=>0,'msg'=>'验证码错误']); } } diff --git a/Application/Payment/View/Payment/edit.html b/Application/Payment/View/Payment/edit.html index 7b9983f92..a6dae1cc6 100644 --- a/Application/Payment/View/Payment/edit.html +++ b/Application/Payment/View/Payment/edit.html @@ -122,7 +122,7 @@ }, yes : function(index, layero) { var verify = $("#verify").val(); - data = {id:id,name:name,mobile:mobile,verify:verify}; + data = {id:id,name:name,mobile:mobile,old_mobile:old_mobile,verify:verify}; publicAjax(url,data,function (data) { // layer.msg(data.msg); MSG.showmsg(data.msg);