From f6c74fb3b585d25fe45dea893335600853cd6476 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 24 一月 2019 09:33:12 +0800 Subject: [PATCH] 获取商品链接更改 --- fanli/src/main/java/com/yeshi/fanli/controller/client/UserMsgController.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/UserMsgController.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/UserMsgController.java index ab6a113..5e0f2c0 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/client/UserMsgController.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/UserMsgController.java @@ -195,7 +195,7 @@ try { UserSettingsVO vo = userCustomSettingsService.getMySettings(uid); - if (vo != null && vo.getNoNewsRedDot() == 1) { + if (vo != null && vo.getNoNewsRedDot() != null && vo.getNoNewsRedDot() == 1) { data.put("totalCount", 0); } } catch (UserCustomSettingsException e) { @@ -414,8 +414,7 @@ UserSystemMsg usm = userSystemMsgService.getLatestUserSystemMsg(uid); if (usm != null) root.put("systemMsg", - new UserSystemMsgVO(usm.getId(), usm.getType().name(), usm.getSolved(), "绯荤粺娑堟伅", - usm.getTitle(), + new UserSystemMsgVO(usm.getId(), usm.getType().name(), usm.getSolved(), "绯荤粺娑堟伅", usm.getTitle(), usm.getTimeTag() == 1 ? "http://img.flqapp.com/resource/msg/icon_emergent.png" : "", "http://img.flqapp.com/resource/msg/icon_msg_system.png", getTimeDesc(now, usm.getCreateTime()), num.getTypeSystem())); -- Gitblit v1.8.0