| xqd
@@ -201,10 +201,11 @@ class AuthController extends Controller
|
|
|
$key = $this->keySmsCode . $phone;
|
|
|
Cache::store('file')->put($key, $verify_code, $this->expireTime);
|
|
|
$msg = '【喵喵】您的验证码是:' . $verify_code;
|
|
|
- $result = $this->sendSms($msg, $phone);
|
|
|
-
|
|
|
- /* if (!$result)
|
|
|
- $this->logger->Error("Send sms failed.");*/
|
|
|
+ /*
|
|
|
+ $result = $this->sendSms($msg, $phone);
|
|
|
+ if (!$result)
|
|
|
+ $this->logger->Error("Send sms failed.");
|
|
|
+ */
|
|
|
|
|
|
return $this->api(['verify_code' => $verify_code]);
|
|
|
}
|