浏览代码

fix:登入

lizhi 4 月之前
父节点
当前提交
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);
     }
 
-    private function getUserId()
+    public function getUserId()
     {
         return $this->_userId;
     }