Parcourir la source

Weenier 168otc项目部署 0630

wesmiler il y a 3 ans
Parent
commit
e0ef0ad72d
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3 2
      app/Http/Controllers/Api/webApp.php

+ 3 - 2
app/Http/Controllers/Api/webApp.php

@@ -62,7 +62,7 @@ class webApp extends BaseController
 
             if($token == 'app123'){
                 $userId = ConfigService::make()->getConfigByCode('test_uid');
-                $userId = $userId? $userId : 58;
+                $userId = $userId? $userId : 10001;
             }else{
                 // JWT解密token
                 $jwt = new Jwt('jwt_app');
@@ -77,7 +77,8 @@ class webApp extends BaseController
                 $this->userId = $userId;
                 $this->userInfo = $userInfo;
             }
-
+var_dump($this->userInfo);
+var_dump($this->userId);
             return $next($request);
         });
     }