Merge branch 'v4-fzy' into test
This commit is contained in:
commit
849eb44870
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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 // 嵌入原结构体
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue