Browse Source

fix:登入

lizhi 5 months ago
parent
commit
0cff1a5967
1 changed files with 1 additions and 1 deletions
  1. 1 1
      protected/components/Controller.php

+ 1 - 1
protected/components/Controller.php

@@ -128,7 +128,7 @@ class Controller extends CController
         RedisInstance::getInstance()->delete('user_auth_' . $id);
     }
 
-    private function getUserId()
+    public function getUserId()
     {
         return $this->_userId;
     }