@@ -230,7 +230,9 @@ public class UserNoticeServiceImpl extends BaseServiceImpl<UserNoticeMapper, Use | |||
// 通知类型 | |||
userNoticeInfoVo.setTypeName(UserNoticeConstant.USER_NOTICE_TYPE_LIST.get(info.getType())); | |||
// 附件 | |||
userNoticeInfoVo.setAttachment(imageUrl + userNoticeInfoVo.getAttachment()); | |||
if (!StringUtils.isEmpty(userNoticeInfoVo.getAttachment())) { | |||
userNoticeInfoVo.setAttachment(imageUrl + userNoticeInfoVo.getAttachment()); | |||
} | |||
} | |||
return response.success(userNoticeInfoVo); | |||
} |