update
This commit is contained in:
parent
6daf1025f5
commit
29ff052e5f
|
|
@ -188,8 +188,8 @@ public class MerchantChannelStatusServiceImpl extends ServiceImpl<MerchantChanne
|
||||||
|
|
||||||
UserApp userApp = new UserApp().setMerchantCode(merchantCode).setUserType("promoter");
|
UserApp userApp = new UserApp().setMerchantCode(merchantCode).setUserType("promoter");
|
||||||
userApp = userAppService.queryUserApp(userApp);
|
userApp = userAppService.queryUserApp(userApp);
|
||||||
|
//TODO 微信机器人
|
||||||
wxTalkService.sendAuditAlert(userApp.getUserId() + "");
|
//wxTalkService.sendAuditAlert(userApp.getUserId() + "");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
@ -233,7 +233,7 @@ public class MerchantChannelStatusServiceImpl extends ServiceImpl<MerchantChanne
|
||||||
generalPushUtil.sendAllPlatByAlias(Collections.singletonList(userApp.getUserId() + ""), "收银呗审核通知", errMsg, "1");
|
generalPushUtil.sendAllPlatByAlias(Collections.singletonList(userApp.getUserId() + ""), "收银呗审核通知", errMsg, "1");
|
||||||
|
|
||||||
// 机器人发送已处理的信息到群组
|
// 机器人发送已处理的信息到群组
|
||||||
wxTalkService.sendAuditResultAlert(userApp.getUserId() + "");
|
//wxTalkService.sendAuditResultAlert(userApp.getUserId() + "");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -1976,7 +1976,7 @@ public class MerchantOrderServiceImpl extends ServiceImpl<MerchantOrderMapper, M
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
if(UserVoice.ENABLE.equals(voice.getPaySuccess())){
|
if(UserVoice.ENABLE.equals(voice.getPaySuccess())){
|
||||||
generalPushUtil.sendAllPlatByAlias(alias, content, content, extrasparam);
|
generalPushUtil.sendAllPlatByAliasExt(alias, content, content, extrasparam);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//发送模板消息
|
//发送模板消息
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,17 @@ public class GeneralPushUtil implements IPush {
|
||||||
mobPushUtil.sendIOSByAlias(alias, notificationTitle, msgContent, extrasParam);
|
mobPushUtil.sendIOSByAlias(alias, notificationTitle, msgContent, extrasParam);
|
||||||
userPushService.push(alias, notificationTitle, msgContent, extrasParam);*/
|
userPushService.push(alias, notificationTitle, msgContent, extrasParam);*/
|
||||||
|
|
||||||
|
//MobV2PushUtil.sendSingleByAlias(alias, notificationTitle, msgContent, "payload:{voice:\"" + msgContent + "\",type:\"1\"}}");
|
||||||
|
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void sendAllPlatByAliasExt(List<String> alias, String notificationTitle, String msgContent, String extrasParam) {
|
||||||
|
try {
|
||||||
|
|
||||||
MobV2PushUtil.sendSingleByAlias(alias, notificationTitle, msgContent, "payload:{voice:\"" + msgContent + "\",type:\"1\"}}");
|
MobV2PushUtil.sendSingleByAlias(alias, notificationTitle, msgContent, "payload:{voice:\"" + msgContent + "\",type:\"1\"}}");
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue