瀏覽代碼

首页、赚钱首页上传图片修改

anderx 7 年之前
父節點
當前提交
5d6c18eac7
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      src/main/java/com/goafanti/app/controller/OpenAppHomeController.java

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

@@ -140,6 +140,7 @@ public class OpenAppHomeController extends BaseApiController{
 		//1 赚钱数据    2首页数据
 		map.put("recommended", jtBusinessService.recommendedApplication(1,pageNo,pageSize));
 		map.put("tag", jtTagService.selectListJtTag(null, 1, 99));
+		map.put("homeImg", "/img/index/index_banner1.png");
 		result.setData(map);
 		return result;
 	}
@@ -156,9 +157,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","1"));
-		l.add(new HomeImgBo("2","2"));
-		l.add(new HomeImgBo("3","3"));
+		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"));
 		map.put("homeImg", l);
 		result.setData(map);
 		return result;