fix
This commit is contained in:
@@ -5,6 +5,7 @@ import com.google.common.collect.Sets;
|
||||
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import com.newyetai.common.AlitaResult;
|
||||
import com.newyetai.common.util.DateUtils;
|
||||
import com.newyetai.common.validation.util.ValidateUtils;
|
||||
import com.newyetai.sdk.sms.util.SmsUtils;
|
||||
import com.newyetai.usercenter.enums.SmsTemplateCodeEnum;
|
||||
@@ -408,6 +409,8 @@ public class PositionRegistrationServiceImpl implements PositionRegistrationServ
|
||||
//发送站内信
|
||||
private void sendNotice(NoticeTemplateCodeEnum templateCodeEnum, Long receiverUserId, Map<String, Object> contentParamDataMap, Boolean sendSms) {
|
||||
String templateCode = templateCodeEnum.getType();
|
||||
// 内置发送时间
|
||||
contentParamDataMap.put("defaultSendDay", DateUtils.getCurrentYmd());
|
||||
try {
|
||||
// 发送站内信
|
||||
NoticeSendRecordOperateDTO sendRecordOperateDTO = NoticeSendRecordOperateDTO.builder()
|
||||
|
||||
@@ -130,8 +130,6 @@ public class NoticeSendRecordServiceImpl implements NoticeSendRecordService {
|
||||
log.error("无对应消息通道处理...");
|
||||
}
|
||||
Set<Long> receiverUserIds = noticeSendRecordOperateDTO.getReceiverUserIds();
|
||||
// 内置发送时间
|
||||
noticeSendRecordOperateDTO.getContentParamDataMap().put("defaultSendDay", DateUtils.getCurrentYmd());
|
||||
NoticeSendRecordDTO noticeSendRecordDTO =
|
||||
NoticeSendRecordDTO.builder().templateId(noticeSendRecordOperateDTO.getTemplateId())
|
||||
.senderOrgId(noticeSendRecordOperateDTO.getOperateOrgId())
|
||||
|
||||
Reference in New Issue
Block a user