gq 7 anos atrás
pai
commit
cafde3406c

+ 4 - 4
server/app/Http/Controllers/Api/V1/AuthController.php

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