diff --git a/Application/Payment/Controller/PaymentController.class.php b/Application/Payment/Controller/PaymentController.class.php index dc2f46ffa..26b8e8ad6 100644 --- a/Application/Payment/Controller/PaymentController.class.php +++ b/Application/Payment/Controller/PaymentController.class.php @@ -364,7 +364,8 @@ class PaymentController extends BaseController { $mobile = $_REQUEST['mobile']; $verify = $_REQUEST['verify']; - if (!$this->checksafecode($this->admininfo['mobile'], $verify)) { + $flag = A("Public")->checksafecode($this->admininfo['mobile'], $verify); + if (!$flag ) { $this->error('验证码错误'); } $dbres = M("Kv")->where("`key`='payment_check_mobile'")->save(['value'=>$mobile]); diff --git a/Application/Payment/View/Payment/lists.html b/Application/Payment/View/Payment/lists.html index b07a6e550..02176e57c 100644 --- a/Application/Payment/View/Payment/lists.html +++ b/Application/Payment/View/Payment/lists.html @@ -169,7 +169,9 @@
- 批量打款 + + 批量打款 +
diff --git a/Application/Payment/View/Payment/transfer_set.html b/Application/Payment/View/Payment/transfer_set.html index 0f355ce1e..ca4492d0f 100644 --- a/Application/Payment/View/Payment/transfer_set.html +++ b/Application/Payment/View/Payment/transfer_set.html @@ -74,7 +74,7 @@ $.ajax({ type:'post', dataType:'json', - data:'phone='+mobile, + data:'phone='+ym, url:'{:U("Public/telsafecode")}', success:function(data) { if (data.status ==1) {