fix(dingtalk): use msg_key variable instead of hardcoded

This commit is contained in:
shawn_wxn
2026-03-06 19:58:22 +08:00
parent caa2aa596d
commit 73991779b3

View File

@@ -315,7 +315,7 @@ class DingTalkChannel(BaseChannel):
payload = { payload = {
"robotCode": self.config.client_id, "robotCode": self.config.client_id,
"openConversationId": chat_id[6:], # Remove "group:" prefix, "openConversationId": chat_id[6:], # Remove "group:" prefix,
"msgKey": "msg_key", "msgKey": msg_key,
"msgParam": json.dumps(msg_param, ensure_ascii=False), "msgParam": json.dumps(msg_param, ensure_ascii=False),
} }
else: else: