|
|
@@ -168,7 +168,7 @@ public class WebpageController extends BaseController {
|
|
|
List<OutNews> gs2=new ArrayList<>();
|
|
|
for (int i = 0; i < list.size(); i++) {
|
|
|
list.get(i).setReleaseTimeConvert(DateUtils.formatDate(list.get(i).getReleaseTime(), AFTConstants.MMDD));
|
|
|
-// list.get(i).setContent(displayRestriction(list.get(i).getContent()));
|
|
|
+ list.get(i).setContent(displayRestriction(list.get(i).getContent()));
|
|
|
if (i==0) {
|
|
|
gs1=list.get(i);
|
|
|
}else {
|
|
|
@@ -181,7 +181,7 @@ public class WebpageController extends BaseController {
|
|
|
List<OutNews>hy=(List<OutNews>) newsService.listnewsDetails(in, 3, 1).getList();
|
|
|
for (OutNews o : hy) {
|
|
|
o.setReleaseTimeConvert(DateUtils.formatDate(o.getReleaseTime(), AFTConstants.MMDD));
|
|
|
-// o.setContent(displayRestriction(o.getContent()));
|
|
|
+ o.setContent(displayRestriction(o.getContent()));
|
|
|
}
|
|
|
modelview.addObject("hy", hy);
|
|
|
//获取战略合作16个
|