Browse Source

fix:登入

lizhi 1 năm trước cách đây
mục cha
commit
0cff1a5967
1 tập tin đã thay đổi với 1 bổ sung và 1 xóa
  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;
     }