|
@@ -298,14 +298,14 @@ class AuthController extends Controller
|
|
\Log::info('verify_code:'.$verify_code);
|
|
\Log::info('verify_code:'.$verify_code);
|
|
$key = $this->keySmsCode . $phone;
|
|
$key = $this->keySmsCode . $phone;
|
|
Cache::store('file')->put($key, $verify_code, $this->expireTime);
|
|
Cache::store('file')->put($key, $verify_code, $this->expireTime);
|
|
- $msg = '【喵喵】您的验证码是:' . $verify_code;
|
|
|
|
- /*
|
|
|
|
|
|
+ $msg = '【喵喵】您的验证码是:(' . $verify_code.')。一分钟内有效请及时验证';
|
|
|
|
+
|
|
$result = $this->sendSms($msg, $phone);
|
|
$result = $this->sendSms($msg, $phone);
|
|
if (!$result)
|
|
if (!$result)
|
|
$this->logger->Error("Send sms failed.");
|
|
$this->logger->Error("Send sms failed.");
|
|
- */
|
|
|
|
|
|
|
|
- return $this->api(['verify_code' => $verify_code]);
|
|
|
|
|
|
+
|
|
|
|
+// return $this->api(['verify_code' => $verify_code]);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|