lizhi пре 3 месеци
родитељ
комит
0cff1a5967
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
     }
     }