|
|
@ -119,17 +119,17 @@ public class BxgIndexController { |
|
|
|
.bargainList(yxStoreBargainService.getList(1,10))//砍价活动列表
|
|
|
|
.bargainList(yxStoreBargainService.getList(1,10))//砍价活动列表
|
|
|
|
.seckillConfigVo(yxStoreSeckillService.getStoreSeckil())//秒杀配置
|
|
|
|
.seckillConfigVo(yxStoreSeckillService.getStoreSeckil())//秒杀配置
|
|
|
|
.yxStoreSeckillQueryVoList(yxStoreSeckillService.getIndexList())//秒杀商品
|
|
|
|
.yxStoreSeckillQueryVoList(yxStoreSeckillService.getIndexList())//秒杀商品
|
|
|
|
.bastList(storeProductService.getList(1,10, ProductEnum.TYPE_1.getValue())) //精品推荐
|
|
|
|
.bastList(storeProductService.getList(1,100, ProductEnum.TYPE_1.getValue())) //精品推荐
|
|
|
|
.evaluationList(evaluationService.getList(1,5)) |
|
|
|
.evaluationList(evaluationService.getList(1,5)) |
|
|
|
.benefit(storeProductService.getList(1,100,ProductEnum.TYPE_4.getValue())) //猜你喜欢
|
|
|
|
.benefit(storeProductService.getList(1,100,ProductEnum.TYPE_4.getValue())) //猜你喜欢
|
|
|
|
.combinationList(storeCombinationService.getList(1,8).getStoreCombinationQueryVos()) |
|
|
|
.combinationList(storeCombinationService.getList(1,8).getStoreCombinationQueryVos()) |
|
|
|
.firstList(storeProductService.getList(1,6,ProductEnum.TYPE_3.getValue())) //首发新品
|
|
|
|
.firstList(storeProductService.getList(1,10,ProductEnum.TYPE_3.getValue())) //首发新品
|
|
|
|
.likeInfo(storeProductService.getList(1,80,ProductEnum.TYPE_2.getValue())) //热门榜单
|
|
|
|
.likeInfo(storeProductService.getList(1,80,ProductEnum.TYPE_2.getValue())) //热门榜单
|
|
|
|
.mapKey(systemConfigService.getData(ShopKeyUtils.getTengXunMapKey())) |
|
|
|
.mapKey(systemConfigService.getData(ShopKeyUtils.getTengXunMapKey())) |
|
|
|
//菜单
|
|
|
|
//菜单
|
|
|
|
.menus(systemGroupDataService.getDatas(ShopConstants.ZSW_HOME_MENUS)) |
|
|
|
.menus(systemGroupDataService.getDatas(ShopConstants.ZSW_HOME_MENUS)) |
|
|
|
.roll(systemGroupDataService.getDatas(ShopConstants.ZSW_HOME_ROLL_NEWS)) |
|
|
|
.roll(systemGroupDataService.getDatas(ShopConstants.ZSW_HOME_ROLL_NEWS)) |
|
|
|
.seckillList(storeSeckillService.getList(1, 4)) |
|
|
|
.seckillList(storeSeckillService.getList(1, 6)) |
|
|
|
.liveList(wechatLiveService.getList(1,4,0)) |
|
|
|
.liveList(wechatLiveService.getList(1,4,0)) |
|
|
|
.build(); |
|
|
|
.build(); |
|
|
|
return ApiResult.ok(indexVo); |
|
|
|
return ApiResult.ok(indexVo); |
|
|
|