mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-23 13:42:25 +08:00
fix 修改参数类型为interface{},支持string和number (#390)
This commit is contained in:
@@ -43,8 +43,8 @@ type Message struct {
|
|||||||
|
|
||||||
//DataItem 模版内某个 .DATA 的值
|
//DataItem 模版内某个 .DATA 的值
|
||||||
type DataItem struct {
|
type DataItem struct {
|
||||||
Value string `json:"value"`
|
Value interface{} `json:"value"`
|
||||||
Color string `json:"color"`
|
Color string `json:"color"`
|
||||||
}
|
}
|
||||||
|
|
||||||
//TemplateItem template item
|
//TemplateItem template item
|
||||||
|
|||||||
Reference in New Issue
Block a user