Mike 8 vuotta sitten
vanhempi
commit
31b5dcac73

+ 1 - 1
miaomiao/www/js/config/config.js

xqd
@@ -1,7 +1,7 @@
 (function (app) {
     //全局配置 
     app.constant("config", {
-        server: 'http://localhost:8092/',
+        server: 'http://q8.9026.com/',
         imgServer: 'http://q8.9026.com/attachment/'
     });
 })(angular.module('app'));

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

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]);
     }