Browse Source

首页轮播图修改

anderx 7 years ago
parent
commit
e107ccea02

+ 4 - 4
src/main/java/com/goafanti/app/controller/OpenAppHomeController.java

@@ -141,7 +141,7 @@ public class OpenAppHomeController extends BaseApiController{
 		map.put("recommended", jtBusinessService.recommendedApplication(1,pageNo,pageSize));
 		map.put("tag", jtTagService.selectListJtTag(null, 1, 99));
 		List<HomeImgBo> l=new ArrayList<>();
-		l.add(new HomeImgBo("1","/img/index/index_banner1.png"));
+		l.add(new HomeImgBo("/img/index/index_banner1.png","1"));
 		map.put("homeImg", l);
 		result.setData(map);
 		return result;
@@ -159,9 +159,9 @@ public class OpenAppHomeController extends BaseApiController{
 		//1 赚钱数据    2首页数据
 		map.put("recommended", jtBusinessService.recommendedApplication(1,pageNo,pageSize));
 		List<HomeImgBo> l=new ArrayList<>();
-		l.add(new HomeImgBo("1","/img/index/index_banner1.png"));
-		l.add(new HomeImgBo("2","/img/index/index_banner2.png"));
-		l.add(new HomeImgBo("3","/img/index/index_banner3.png"));
+		l.add(new HomeImgBo("/img/index/index_banner1.png","1"));
+		l.add(new HomeImgBo("/img/index/index_banner2.png","2"));
+		l.add(new HomeImgBo("/img/index/index_banner3.png","3"));
 		map.put("homeImg", l);
 		result.setData(map);
 		return result;