mirror of
https://github.com/silenceper/wechat.git
synced 2026-03-01 00:35:26 +08:00
fix 修改参数类型为interface{},支持string和number (#390)
This commit is contained in:
1 parent
5ec4cc2269
commit
5472ac979b
1 file changed
+2
-2
@@ -43,8 +43,8 @@ type Message struct {
|
||||
|
||||
//DataItem 模版内某个 .DATA 的值
|
||||
type DataItem struct {
|
||||
Value string `json:"value"`
|
||||
Color string `json:"color"`
|
||||
Value interface{} `json:"value"`
|
||||
Color string `json:"color"`
|
||||
}
|
||||
|
||||
//TemplateItem template item
|
||||
|
||||
Reference in new issue
Block a user