瀏覽代碼

fix:登入

lizhi 5 月之前
父節點
當前提交
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;
     }