@@ -41,7 +41,6 @@ class SmsLogic extends BaseLogic
if (empty($scene)) {
throw new \Exception('场景值异常');
}
- Log::write($scene);
$result = event('Notice', [
'scene_id' => $scene,
'params' => [
@@ -49,6 +49,7 @@ class NoticeEnum
self::CHANGE_MOBILE_CAPTCHA,
self::FIND_LOGIN_PASSWORD_CAPTCHA,
self::OTHER_CAPTCHA,
+ self::GCSSJHM_CAPTCHA,
];
@@ -36,9 +36,6 @@ class LoginLogic extends BaseLogic
// 验证码请求
$sceneId = NoticeEnum::GCSSJHM_CAPTCHA;
// 校验短信
- Log::write($sceneId);
- Log::write($params['code']);
- Log::write($params['mobile']);
$checkSmsCode = (new SmsDriver())->verify($params['mobile'], $params['code'], $sceneId);
if (!$checkSmsCode) {
throw new \Exception('验证码错误');