Commit 6b3e873d by 阳浪

消息优化

parent 417dcc5b
......@@ -9,6 +9,7 @@ import com.yizhi.message.application.vo.TaskVo;
import org.apache.commons.lang3.time.DateUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
......@@ -46,7 +47,9 @@ public class PointEvenSendMessage {
vo.setAccountId(accountId);
}
vo.setRequestContext(context);
vo.setTaskVo(taskVo);
com.yizhi.core.application.vo.TaskVo taskVo1 = new com.yizhi.core.application.vo.TaskVo();
BeanUtils.copyProperties(taskVo,taskVo1);
vo.setTaskVo(taskVo1);
try {
//临时取消触发功能
// cloudEventPublisher.publish(Constans.MESSAGE_QUEUE, new EventWrapper<MessageRemindVo>(null, vo));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment