perf: Feishu lark support attributes settings

This commit is contained in:
feng
2024-07-15 10:51:01 +08:00
committed by feng626
parent e93227a53c
commit 836adab5d0
7 changed files with 56 additions and 14 deletions

View File

@@ -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