mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-04 00:44:48 +00:00
perf: Feishu lark support attributes settings
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from django.conf import settings
|
||||
|
||||
from common.utils.common import get_logger
|
||||
from ..feishu import URL as FeiShuURL, FeishuRequests, FeiShu
|
||||
|
||||
@@ -9,8 +11,9 @@ class URL(FeiShuURL):
|
||||
|
||||
|
||||
class LarkRequests(FeishuRequests):
|
||||
pass
|
||||
url_instance = URL()
|
||||
|
||||
|
||||
class Lark(FeiShu):
|
||||
requests_cls = LarkRequests
|
||||
attributes = settings.LARK_RENAME_ATTRIBUTES
|
||||
|
Reference in New Issue
Block a user