Skip to content

Commit

Permalink
doc:完善菜单消息内的注释文档 (#479)
Browse files Browse the repository at this point in the history
* feat:微信客服支持向客户发送欢迎语

* chore: go fmt file

* feat:移除空白文件

* doc:完善菜单消息内的注释文档
  • Loading branch information
NICEXAI authored Sep 13, 2021
1 parent 9294950 commit c021336
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion work/kf/sendmsg/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
Expand Down
2 changes: 1 addition & 1 deletion work/kf/sendmsgonevent/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
Expand Down

0 comments on commit c021336

Please sign in to comment.