From c021336a3c4110fa8ee8027863aef53a75a6855b Mon Sep 17 00:00:00 2001 From: Afeyer <1500527791@qq.com> Date: Mon, 13 Sep 2021 19:20:16 +0800 Subject: [PATCH] =?UTF-8?q?doc:=E5=AE=8C=E5=96=84=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E5=86=85=E7=9A=84=E6=B3=A8=E9=87=8A=E6=96=87?= =?UTF-8?q?=E6=A1=A3=20(#479)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat:微信客服支持向客户发送欢迎语 * chore: go fmt file * feat:移除空白文件 * doc:完善菜单消息内的注释文档 --- work/kf/sendmsg/message.go | 2 +- work/kf/sendmsgonevent/message.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/work/kf/sendmsg/message.go b/work/kf/sendmsg/message.go index 821e63ab4..f078683fc 100644 --- a/work/kf/sendmsg/message.go +++ b/work/kf/sendmsg/message.go @@ -82,7 +82,7 @@ type Menu struct { MsgType string `json:"msgtype"` // 消息类型,此时固定为:msgmenu MsgMenu struct { HeadContent string `json:"head_content"` // 消息内容,不多于1024字节 - List []interface{} `json:"list"` // 菜单项配置 + List []interface{} `json:"list"` // 菜单项配置,不能多余10个 TailContent string `json:"tail_content"` // 结束文本, 不多于1024字 } `json:"msgmenu"` } diff --git a/work/kf/sendmsgonevent/message.go b/work/kf/sendmsgonevent/message.go index 16aabfada..f822e3cff 100644 --- a/work/kf/sendmsgonevent/message.go +++ b/work/kf/sendmsgonevent/message.go @@ -21,7 +21,7 @@ type Menu struct { MsgType string `json:"msgtype"` // 消息类型,此时固定为:msgmenu MsgMenu struct { HeadContent string `json:"head_content"` // 消息内容,不多于1024字节 - List []interface{} `json:"list"` // 菜单项配置 + List []interface{} `json:"list"` // 菜单项配置,不能多余10个 TailContent string `json:"tail_content"` // 结束文本, 不多于1024字 } `json:"msgmenu"` }