|
|
@@ -156,7 +156,13 @@ public class AiUserViolationJob {
|
|
|
LifeUser lifeUser = lifeUserMapper.selectById(task.getReportingUserId());
|
|
|
lifeMessage.setReceiverId("user_" + lifeUser.getUserPhone());
|
|
|
String text = "您的举报用户结果为" + (aiTask.getProcessingStatus().equals("1") ? "违规" : "未违规");
|
|
|
- lifeMessage.setContext(text);
|
|
|
+
|
|
|
+ com.alibaba.fastjson.JSONObject lifeMessagejson = new com.alibaba.fastjson.JSONObject();
|
|
|
+ lifeMessagejson.put("title", "平台已受理");
|
|
|
+ lifeMessagejson.put("message", text);
|
|
|
+ lifeMessage.setContext(lifeMessagejson.toJSONString());
|
|
|
+ lifeMessage.setTitle("举报通知");
|
|
|
+ lifeMessage.setBusinessId(task.getId());
|
|
|
lifeMessage.setSenderId("system");
|
|
|
lifeMessage.setIsRead(0);
|
|
|
lifeMessage.setNoticeType(1);
|