lizhi 5 miesięcy temu
rodzic
commit
0cff1a5967
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
         RedisInstance::getInstance()->delete('user_auth_' . $id);
     }
     }
 
 
-    private function getUserId()
+    public function getUserId()
     {
     {
         return $this->_userId;
         return $this->_userId;
     }
     }