|
@@ -44,10 +44,14 @@ func Notification(header *protocol.RequestHeader, request *protocol.PushInfoRequ |
|
@@ -44,10 +44,14 @@ func Notification(header *protocol.RequestHeader, request *protocol.PushInfoRequ |
|
44
|
|
44
|
|
|
45
|
push.Title(request.Title),
|
45
|
push.Title(request.Title),
|
|
46
|
push.Content(request.Content),
|
46
|
push.Content(request.Content),
|
|
47
|
- push.TransmissionContent(utils.JsonAssertString(request.Ext)),
|
47
|
+ //push.TransmissionContent(utils.JsonAssertString(request.Ext)),
|
|
48
|
}
|
48
|
}
|
|
49
|
)
|
49
|
)
|
|
50
|
|
50
|
|
|
|
|
51
|
+ if v, ok := request.Ext["transData"]; ok {
|
|
|
|
52
|
+ options = append(options, push.TransmissionContent(utils.JsonAssertString(v)))
|
|
|
|
53
|
+ }
|
|
|
|
54
|
+
|
|
51
|
fc(request.ClientId)
|
55
|
fc(request.ClientId)
|
|
52
|
fc(request.DeviceToken)
|
56
|
fc(request.DeviceToken)
|
|
53
|
switch len(clientIds) {
|
57
|
switch len(clientIds) {
|