Merge pull request '手机验证码修改账号' (#12) from feature/add_item into release

手机验证码修改账号
master
郑永星 4 years ago
commit bc162ada96

@ -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'=>'验证码错误']);
}
}

@ -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);

Loading…
Cancel
Save