Skip to content

Commit b094006

Browse files
committed
调整extra字段位置
1 parent 95a9e55 commit b094006

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

param.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,12 @@ type AndroidPayload struct {
137137
// 当display_type=notification且
138138
// after_open=go_custom时,必填
139139
Custom interface{} `json:"custom,omitempty"`
140-
141-
// 可选,JSON格式,用户自定义key-value,只对"通知"
142-
// (display_type=notification)生效
143-
// 可以配合通知到达后,打开App/URL/Activity使用
144-
Extra map[string]string `json:"extra,omitempty"`
145140
} `json:"body"`
141+
142+
// 可选,JSON格式,用户自定义key-value,只对"通知"
143+
// (display_type=notification)生效
144+
// 可以配合通知到达后,打开App/URL/Activity使用
145+
Extra map[string]string `json:"extra,omitempty"`
146146
}
147147

148148
type IosPayload struct {

0 commit comments

Comments
 (0)