验证码字段
This commit is contained in:
parent
14106a4ec7
commit
7507523acf
@ -31,8 +31,8 @@ class SmsController extends Controller
|
|||||||
$mobile = $this->request->get('mobile');
|
$mobile = $this->request->get('mobile');
|
||||||
|
|
||||||
if ($this->request->isMethod('post')) {
|
if ($this->request->isMethod('post')) {
|
||||||
$code = $this->request->get('code');
|
$verifyCode = $this->request->get('verify_code');
|
||||||
$this->smsService->verifyCode($mobile, $code);
|
$this->smsService->verifyCode($mobile, $verifyCode);
|
||||||
return res(true, '验证码正确');
|
return res(true, '验证码正确');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user