mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-02 07:55:16 +00:00
feat: 拆分 feishu lark
This commit is contained in:
16
apps/common/sdk/im/lark/__init__.py
Normal file
16
apps/common/sdk/im/lark/__init__.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from common.utils.common import get_logger
|
||||
from ..feishu import URL as FeiShuURL, FeishuRequests, FeiShu
|
||||
|
||||
logger = get_logger(__name__)
|
||||
|
||||
|
||||
class URL(FeiShuURL):
|
||||
host = 'https://open.larksuite.com'
|
||||
|
||||
|
||||
class LarkRequests(FeishuRequests):
|
||||
pass
|
||||
|
||||
|
||||
class Lark(FeiShu):
|
||||
requests_cls = LarkRequests
|
Reference in New Issue
Block a user