|
|
@@ -131,7 +131,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==1) {
|
|
|
gs1=list.get(i);
|
|
|
}else {
|
|
|
@@ -144,7 +144,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个
|