mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
400 B
20 lines
400 B
from django.conf import settings
|
|
|
|
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):
|
|
url_instance = URL()
|
|
|
|
|
|
class Lark(FeiShu):
|
|
requests_cls = LarkRequests
|
|
attributes = settings.LARK_RENAME_ATTRIBUTES
|