소스 검색

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;
     }