enterprise_service.py 343 B

123456789101112
  1. from services.enterprise.base import EnterpriseRequest
  2. class EnterpriseService:
  3. @classmethod
  4. def get_info(cls):
  5. return EnterpriseRequest.send_request("GET", "/info")
  6. @classmethod
  7. def get_app_web_sso_enabled(cls, app_code):
  8. return EnterpriseRequest.send_request("GET", f"/app-sso-setting?appCode={app_code}")