if (it.lastloginplatform.isNullOrEmpty()) {
message.platform = "all"
kafkaTemplate.send(topic, msg.msgid, gson.toJson(message))
-// message.platform="ios"
-// kafkaTemplate.send(topic, msg.msgid, gson.toJson(message))
-// message.platform="android"
-// kafkaTemplate.send(topic, msg.msgid, gson.toJson(message))
} else {
kafkaTemplate.send(topic, msg.msgid, gson.toJson(message))
}
this.callback = true
this.retries = 3
this.custom = gson.toJson(extras)
+ this.expiretime = DateUtil.getNewTime(DateUtil.getNow(), 300)
}
println(gson.toJson(message))
kafkaTemplate.send(topic, noticeMsg.msgid, gson.toJson(message))