Merge branch 'v4-fzy' into test

This commit is contained in:
fuzhongyun 2026-02-05 10:45:23 +08:00
commit 849eb44870
2 changed files with 3 additions and 1 deletions

View File

@ -159,7 +159,7 @@ dingtalk:
# 卡片回调路由key # 卡片回调路由key
callback_route_key: "gateway.dev.cdlsxd.cn-dingtalk-card" callback_route_key: "gateway.dev.cdlsxd.cn-dingtalk-card"
# 卡片调试工具 [show展示 hide隐藏] # 卡片调试工具 [show展示 hide隐藏]
debug_tool_entry_show: "hide" debug_tool_entry_show: "show"
# 卡片模板 # 卡片模板
template: template:
# 基础消息卡片(title + content) # 基础消息卡片(title + content)

View File

@ -427,6 +427,8 @@ func (s *CallbackService) CallbackDingtalkCard(c *fiber.Ctx) error {
// 获取body中的参数 // 获取body中的参数
body := c.Request().Body() body := c.Request().Body()
log.Debug("body%s", string(body))
// HTTP 回调结构与SDK结构体不符包装结构体 // HTTP 回调结构与SDK结构体不符包装结构体
tmp := struct { tmp := struct {
card.CardRequest // 嵌入原结构体 card.CardRequest // 嵌入原结构体