Bläddra i källkod

首页数据修改

anderx 7 år sedan
förälder
incheckning
5e3795b972

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

@@ -140,7 +140,9 @@ 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");
+		List<HomeImgBo> l=new ArrayList<>();
+		l.add(new HomeImgBo("1","/img/index/index_banner1.png"));
+		map.put("homeImg", l);
 		result.setData(map);
 		return result;
 	}

+ 1 - 1
src/main/java/com/goafanti/common/mapper/JtBusinessProjectMapper.xml

@@ -802,7 +802,7 @@
   </select>
   
    <select id="recommendedApplicationList" resultType="com.goafanti.common.bo.MyCollection">
-  select a.id,a.name,a.introduce as introduction,a.price as textA,
+  select a.id,a.name,a.advertisement as introduction,a.price as textA,
   		c.nickname as ownerName,ifnull(d.count,0) as interestCount
   	from jt_business_project a
   	left join jt_business_category b on  a.category_id=b.id