mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-28 00:58:20 +08:00
13 lines
344 B
Python
13 lines
344 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}')
|