浏览代码

首页BUG修复

Signed-off-by: anderx <312518615@qq.com>
anderx 6 年之前
父节点
当前提交
3c463aaa37
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/kede/common/controller/WebpageController.java

+ 1 - 1
src/main/java/com/kede/common/controller/WebpageController.java

@@ -132,7 +132,7 @@ public class WebpageController extends BaseController {
 		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()));
-			if (i==1) {
+			if (i==0) {
 				gs1=list.get(i);
 			}else {
 				gs2.add(list.get(i));