Browse Source

默认变更列表

kirin 5 days ago
parent
commit
28187869d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/api/controller/AuthController.php

+ 1 - 1
app/api/controller/AuthController.php

@@ -176,7 +176,7 @@ class AuthController
 //        $data['code'] = $code;
 //        $data['code'] = $code;
 //        $res = ShortLetterRepositories::send(true, $phone, $data, 'VERIFICATION_CODE');
 //        $res = ShortLetterRepositories::send(true, $phone, $data, 'VERIFICATION_CODE');
         $res = NewSmsServer::send($phone, $code, 'VERIFICATION_CODE');
         $res = NewSmsServer::send($phone, $code, 'VERIFICATION_CODE');
-//        var_dump($res);
+        var_dump($res);
         if ($res !== true)
         if ($res !== true)
             return app('json')->fail('短信平台验证码发送失败' . $res);
             return app('json')->fail('短信平台验证码发送失败' . $res);
         CacheService::set('code_' . $phone, $code, $time);
         CacheService::set('code_' . $phone, $code, $time);