This commit is contained in:
zhujunshuai 2023-04-07 18:00:58 +08:00
parent 6daf1025f5
commit 29ff052e5f
3 changed files with 15 additions and 4 deletions

View File

@ -188,8 +188,8 @@ public class MerchantChannelStatusServiceImpl extends ServiceImpl<MerchantChanne
UserApp userApp = new UserApp().setMerchantCode(merchantCode).setUserType("promoter");
userApp = userAppService.queryUserApp(userApp);
wxTalkService.sendAuditAlert(userApp.getUserId() + "");
//TODO 微信机器人
//wxTalkService.sendAuditAlert(userApp.getUserId() + "");
}
@Override
@ -233,7 +233,7 @@ public class MerchantChannelStatusServiceImpl extends ServiceImpl<MerchantChanne
generalPushUtil.sendAllPlatByAlias(Collections.singletonList(userApp.getUserId() + ""), "收银呗审核通知", errMsg, "1");
// 机器人发送已处理的信息到群组
wxTalkService.sendAuditResultAlert(userApp.getUserId() + "");
//wxTalkService.sendAuditResultAlert(userApp.getUserId() + "");
}
@Override

View File

@ -1976,7 +1976,7 @@ public class MerchantOrderServiceImpl extends ServiceImpl<MerchantOrderMapper, M
}
}else{
if(UserVoice.ENABLE.equals(voice.getPaySuccess())){
generalPushUtil.sendAllPlatByAlias(alias, content, content, extrasparam);
generalPushUtil.sendAllPlatByAliasExt(alias, content, content, extrasparam);
}
}
//发送模板消息

View File

@ -68,6 +68,17 @@ public class GeneralPushUtil implements IPush {
mobPushUtil.sendIOSByAlias(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\"}}");
} catch (Exception e) {