Compare commits
2 Commits
02e88ed610
...
849eb44870
| Author | SHA1 | Date |
|---|---|---|
|
|
849eb44870 | |
|
|
3b5ac98c08 |
|
|
@ -159,7 +159,7 @@ dingtalk:
|
|||
# 卡片回调路由key
|
||||
callback_route_key: "gateway.dev.cdlsxd.cn-dingtalk-card"
|
||||
# 卡片调试工具 [show:展示 hide:隐藏]
|
||||
debug_tool_entry_show: "hide"
|
||||
debug_tool_entry_show: "show"
|
||||
# 卡片模板
|
||||
template:
|
||||
# 基础消息卡片(title + content)
|
||||
|
|
|
|||
|
|
@ -427,6 +427,8 @@ func (s *CallbackService) CallbackDingtalkCard(c *fiber.Ctx) error {
|
|||
// 获取body中的参数
|
||||
body := c.Request().Body()
|
||||
|
||||
log.Debug("body:%s", string(body))
|
||||
|
||||
// HTTP 回调结构与SDK结构体不符,包装结构体
|
||||
tmp := struct {
|
||||
card.CardRequest // 嵌入原结构体
|
||||
|
|
|
|||
Loading…
Reference in New Issue