Compare commits
No commits in common. "849eb44870f52e7dd4de2b0fbb7bd39a48bdc346" and "02e88ed6108bcb81f385067ceae240e7b64a9de6" have entirely different histories.
849eb44870
...
02e88ed610
|
|
@ -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: "show"
|
debug_tool_entry_show: "hide"
|
||||||
# 卡片模板
|
# 卡片模板
|
||||||
template:
|
template:
|
||||||
# 基础消息卡片(title + content)
|
# 基础消息卡片(title + content)
|
||||||
|
|
|
||||||
|
|
@ -427,8 +427,6 @@ 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