mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-04 20:28:12 +08:00
17fd773a30
Co-authored-by: -LAN- <laipz8200@outlook.com>
12 lines
343 B
Python
12 lines
343 B
Python
from services.enterprise.base import EnterpriseRequest
|
|
|
|
|
|
class EnterpriseService:
|
|
@classmethod
|
|
def get_info(cls):
|
|
return EnterpriseRequest.send_request("GET", "/info")
|
|
|
|
@classmethod
|
|
def get_app_web_sso_enabled(cls, app_code):
|
|
return EnterpriseRequest.send_request("GET", f"/app-sso-setting?appCode={app_code}")
|