Kaynağa Gözat

轮播更换成动态调取

anderx 7 yıl önce
ebeveyn
işleme
8b649e12b4

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

@@ -145,9 +145,8 @@ public class OpenAppHomeController extends BaseApiController{
 		//1 赚钱数据    2首页数据
 		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("/img/index/index_banner1.png","/portal/militaryProjectApp.html"));
-		map.put("homeImg", l);
+		
+		map.put("homeImg", bannersService.findBannersList( BannersStatus.HOME.getDesc(),1, 1, 1));
 		result.setData(map);
 		return result;
 	}