Pārlūkot izejas kodu

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

anderx 7 gadi atpakaļ
vecāks
revīzija
5d6c18eac7

+ 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;