|
@@ -182,7 +182,7 @@ public class MonitorBytedanceServiceImpl implements IMonitorBytedanceService {
|
|
|
public void sendEnterpriseWeiXinMessage(MonitorBytedanceAdVo accountInfo){
|
|
|
String message = "{0},您好!您所运营的账户:{1},其中的广告计划id:{2},监测链接设置有误,已关停请及时修改!";
|
|
|
//发送微信通知
|
|
|
- JSONObject jsonObject = monitorBytedanceActionTrackUrlMapper.getWChatIdByUserId("80e747cdea6f41dbbc8cde23046fd4e0");
|
|
|
+ JSONObject jsonObject = monitorBytedanceActionTrackUrlMapper.getWChatIdByUserId(accountInfo.getOperateUserid());
|
|
|
String msg = MessageFormat.format(message,accountInfo.getOperateUserName(),String.valueOf(accountInfo.getAccountId()),String.join(",",accountInfo.getPlanIdList()));
|
|
|
corpWexinUtils.sendMessageByWeChatId(jsonObject,msg);
|
|
|
}
|