rkljw 3 днів тому
батько
коміт
807a45fced
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      app/Middleware/Auth/FooMiddleware.php

+ 1 - 1
app/Middleware/Auth/FooMiddleware.php

@@ -87,7 +87,7 @@ class FooMiddleware implements MiddlewareInterface
                         );
                     }
                     Context::set("SiteId",$result['data']['id']);
-                    if($ver['type_id']!=10000){
+                    if(in_array($ver['type_id'],[1,2,3,4])){
                         $userInfo = $this->userController->getUserInfo($ver['uid']);
                         if($userInfo['code'] == 200 && isset($userInfo['data']) && !empty($userInfo['data']['sszq'])){
                             $sszq = $userInfo['data']['sszq'];