master
yulingwei 4 years ago
parent 1bd33daa54
commit 151346d69f

@ -115,7 +115,7 @@ class SafeController extends BaseController{
public function ajaxVerifyCode($phone, $code) public function ajaxVerifyCode($phone, $code)
{ {
return $this->success('验证成功'); //return $this->success('验证成功');
if (!$this->checksafecode($phone, $code)) { if (!$this->checksafecode($phone, $code)) {
return $this->error('验证码错误'); return $this->error('验证码错误');
} else { } else {

Loading…
Cancel
Save