Skip to content

Commit f1a8a60

Browse files
committed
调整extra字段类型
1 parent b094006 commit f1a8a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

param.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ type AndroidPayload struct {
142142
// 可选,JSON格式,用户自定义key-value,只对"通知"
143143
// (display_type=notification)生效
144144
// 可以配合通知到达后,打开App/URL/Activity使用
145-
Extra map[string]string `json:"extra,omitempty"`
145+
Extra interface{} `json:"extra,omitempty"`
146146
}
147147

148148
type IosPayload struct {

0 commit comments

Comments
 (0)