|
@ -89,7 +89,7 @@ class Pusher extends RedisModel {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
_pushAndroidNotify(clientid, title, msg, data, handler) {
|
|
|
_pushAndroidNotify(clientId, title, msg, data, handler) {
|
|
|
let transmissionContent = {
|
|
|
pushtype: 'notify',
|
|
|
data: data
|
|
@ -118,7 +118,7 @@ class Pusher extends RedisModel {
|
|
|
//接收方
|
|
|
let target = new Target({
|
|
|
appId: this.getuiConfig.APPID,
|
|
|
clientId: clientid
|
|
|
clientId: clientId
|
|
|
});
|
|
|
|
|
|
this.gt.pushMessageToSingle(message, target, function (err, res) {
|
|
@ -134,7 +134,7 @@ class Pusher extends RedisModel {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
_pushAndroidTransmission(clientid, customData, handler) {
|
|
|
_pushAndroidTransmission(clientId, customData, handler) {
|
|
|
let transmissionContent = {
|
|
|
pushtype: 'transmission',
|
|
|
data: customData
|
|
@ -158,7 +158,7 @@ class Pusher extends RedisModel {
|
|
|
// 接收方
|
|
|
let target = new Target({
|
|
|
appId: this.getuiConfig.APPID,
|
|
|
clientId: clientid
|
|
|
clientId: clientId
|
|
|
});
|
|
|
|
|
|
this.gt.pushMessageToSingle(message, target, function (err, res) {
|