diff --git a/blueking/component/apis/bk_login.py b/blueking/component/apis/bk_login.py index f2147f38e..39b993a7c 100644 --- a/blueking/component/apis/bk_login.py +++ b/blueking/component/apis/bk_login.py @@ -56,3 +56,9 @@ def __init__(self, client): path="/api/c/compapi{bk_api_ver}/bk_login/get_batch_user_platform_role/", description="获取多个用户在平台应用的角色", ) + self.is_login = ComponentAPI( + client=self.client, + method="GET", + path="/api/c/compapi{bk_api_ver}/bk_login/is_login/", + description="判断用户是否登录", + ) diff --git a/requirements.txt b/requirements.txt index 960c9f222..09919329e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ # 运行时依赖安装 wheel==0.37.0 -blueapps[opentelemetry]==4.4.7 +blueapps[opentelemetry]==4.7.0 Django==3.2.4