|
|
@ -443,11 +443,11 @@ class Login extends BaseService |
|
|
|
throwError($validate->getError()); |
|
|
|
throwError($validate->getError()); |
|
|
|
} |
|
|
|
} |
|
|
|
// 验证短信验证码是否匹配 |
|
|
|
// 验证短信验证码是否匹配 |
|
|
|
// try { |
|
|
|
try { |
|
|
|
// CaptchaApi::checkSms($data['smsCode'], $data['mobile']); |
|
|
|
CaptchaApi::checkSms($data['smsCode'], $data['mobile']); |
|
|
|
// } catch (\Exception $e) { |
|
|
|
} catch (\Exception $e) { |
|
|
|
// throwError($e->getMessage() ?: '短信验证码不正确'); |
|
|
|
throwError($e->getMessage() ?: '短信验证码不正确'); |
|
|
|
// } |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|