Browse Source

feat():授权

geek 4 years ago
parent
commit
af50ff0d39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/index/BaseController.php

+ 1 - 1
application/index/BaseController.php

@@ -57,7 +57,7 @@ abstract class BaseController
             '/index/user/login',
             '/index/admin/login',
             '/index/setting/read',
-            ''
+            '/index/user/clearSession'
         ];
         if (!in_array($this->request->baseUrl(),$route)){
             if (empty($this->request->header('token'))) {