Authored by chaogeng

审核不通过站内信通知优化

... ... @@ -1039,7 +1039,7 @@ public class GrassArticleServiceImpl implements IGrassArticleService {
}
}
String noteContent = (StringUtils.isBlank(text)||text.length()<15)?text: (StringUtil.substring(text,0,15)+"...");
noteContent = StringUtils.isEmpty(noteContent)?"":noteContent;
noteContent = StringUtils.isEmpty(noteContent) ? " ": noteContent;
long publishTime = Long.valueOf(grassArticleReq.getPublishTime());
String timeStr = DateUtil.long2DateStr(publishTime , "yyyyMMddHHmm");
timeStr = timeStr.substring(0,4)+"年"+timeStr.substring(4,6)+"月"+timeStr.substring(6,8)+"日"+
... ...