...
|
...
|
@@ -44,10 +44,14 @@ func Notification(header *protocol.RequestHeader, request *protocol.PushInfoRequ |
|
|
|
|
|
push.Title(request.Title),
|
|
|
push.Content(request.Content),
|
|
|
push.TransmissionContent(utils.JsonAssertString(request.Ext)),
|
|
|
//push.TransmissionContent(utils.JsonAssertString(request.Ext)),
|
|
|
}
|
|
|
)
|
|
|
|
|
|
if v, ok := request.Ext["transData"]; ok {
|
|
|
options = append(options, push.TransmissionContent(utils.JsonAssertString(v)))
|
|
|
}
|
|
|
|
|
|
fc(request.ClientId)
|
|
|
fc(request.DeviceToken)
|
|
|
switch len(clientIds) {
|
...
|
...
|
|