2024-04-18 17:33:32 +08:00
|
|
|
from services.enterprise.base import EnterpriseRequest
|
|
|
|
|
|
|
|
|
|
|
|
class EnterpriseService:
|
|
|
|
@classmethod
|
|
|
|
def get_info(cls):
|
2024-08-26 13:43:57 +08:00
|
|
|
return EnterpriseRequest.send_request("GET", "/info")
|
2024-08-25 18:47:02 +08:00
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def get_app_web_sso_enabled(cls, app_code):
|
2024-08-26 13:43:57 +08:00
|
|
|
return EnterpriseRequest.send_request("GET", f"/app-sso-setting?appCode={app_code}")
|