|
|
@@ -131,9 +131,8 @@ public class LifeUserViolationServiceImpl extends ServiceImpl<LifeUserViolationM
|
|
|
// lifeUserViolationMapper.updateById(lifeuserViolation);
|
|
|
|
|
|
|
|
|
- //String phoneId = Objects.requireNonNull(JwtUtil.getCurrentUserInfo()).getString("userType") + "_" + JwtUtil.getCurrentUserInfo().getString("phone");
|
|
|
- // 举报人消息
|
|
|
- /* LifeNotice lifeNotice = getLifeNotice(lifeuserViolation);
|
|
|
+ // 举报人消息
|
|
|
+ LifeNotice lifeNotice = getLifeNotice(lifeuserViolation);
|
|
|
lifeNoticeMapper.insert(lifeNotice);
|
|
|
WebSocketVo websocketVo = new WebSocketVo();
|
|
|
websocketVo.setSenderId("system");
|
|
|
@@ -158,7 +157,7 @@ public class LifeUserViolationServiceImpl extends ServiceImpl<LifeUserViolationM
|
|
|
websocketVoReported.setText(com.alibaba.fastjson2.JSONObject.from(lifeNoticeReported).toJSONString());
|
|
|
webSocketProcess.sendMessage(lifeNoticeReported.getReceiverId(), com.alibaba.fastjson2.JSONObject.from(websocketVoReported).toJSONString());
|
|
|
}
|
|
|
- }*/
|
|
|
+ }
|
|
|
return result;
|
|
|
}
|
|
|
} catch (Exception e) {
|