修改推送
This commit is contained in:
@@ -1964,7 +1964,7 @@ public class MerchantOrderServiceImpl extends ServiceImpl<MerchantOrderMapper, M
|
||||
try {
|
||||
Notice notice = new Notice(2,98,userApp);
|
||||
notice.setUniqueKey(order.getOrderNumber()+userApp.getUserId());
|
||||
String content = "收银呗到账" + order.getConsumeFee() + "元";
|
||||
String content = "快银到账" + order.getConsumeFee() + "元";
|
||||
notice.setConrtent(content);
|
||||
noticeService.saveOrUpdate(notice);
|
||||
// 会员充值播报
|
||||
@@ -1976,7 +1976,7 @@ public class MerchantOrderServiceImpl extends ServiceImpl<MerchantOrderMapper, M
|
||||
}
|
||||
}else{
|
||||
if(UserVoice.ENABLE.equals(voice.getPaySuccess())){
|
||||
generalPushUtil.sendAllPlatByAlias(alias, "收银呗到账通知", content, extrasparam);
|
||||
generalPushUtil.sendAllPlatByAlias(alias, content, content, extrasparam);
|
||||
}
|
||||
}
|
||||
//发送模板消息
|
||||
|
||||
@@ -68,7 +68,7 @@ public class GeneralPushUtil implements IPush {
|
||||
mobPushUtil.sendIOSByAlias(alias, notificationTitle, msgContent, extrasParam);
|
||||
userPushService.push(alias, notificationTitle, msgContent, extrasParam);*/
|
||||
|
||||
MobV2PushUtil.sendSingleByAlias(alias, "快银到账1万元", "快银到账1万元", "payload:{voice:\"快银到账1万元\",type:\"1\"}}");
|
||||
MobV2PushUtil.sendSingleByAlias(alias, notificationTitle, msgContent, "payload:{voice:\"" + msgContent + "\",type:\"1\"}}");
|
||||
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user