|
|
@ -364,7 +364,8 @@ class PaymentController extends BaseController
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$mobile = $_REQUEST['mobile'];
|
|
|
|
$mobile = $_REQUEST['mobile'];
|
|
|
|
$verify = $_REQUEST['verify'];
|
|
|
|
$verify = $_REQUEST['verify'];
|
|
|
|
if (!$this->checksafecode($this->admininfo['mobile'], $verify)) {
|
|
|
|
$flag = A("Public")->checksafecode($this->admininfo['mobile'], $verify);
|
|
|
|
|
|
|
|
if (!$flag ) {
|
|
|
|
$this->error('验证码错误');
|
|
|
|
$this->error('验证码错误');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$dbres = M("Kv")->where("`key`='payment_check_mobile'")->save(['value'=>$mobile]);
|
|
|
|
$dbres = M("Kv")->where("`key`='payment_check_mobile'")->save(['value'=>$mobile]);
|
|
|
|