ssj
This commit is contained in:
+4
-4
@@ -92,16 +92,16 @@ public class AppStoreProductController {
|
||||
Map<String,Object> map = new LinkedHashMap<>();
|
||||
// 精品推荐
|
||||
if(ProductEnum.TYPE_1.getValue().equals(type)){
|
||||
map.put("list",storeProductService.getList(1,20,ProductEnum.TYPE_1.getValue()));
|
||||
map.put("list",storeProductService.getList(1,30,ProductEnum.TYPE_1.getValue()));
|
||||
// 热门榜单
|
||||
}else if(type.equals(ProductEnum.TYPE_2.getValue())){
|
||||
map.put("list",storeProductService.getList(1,20,ProductEnum.TYPE_2.getValue()));
|
||||
map.put("list",storeProductService.getList(1,30,ProductEnum.TYPE_2.getValue()));
|
||||
// 首发新品
|
||||
}else if(type.equals(ProductEnum.TYPE_3.getValue())){
|
||||
map.put("list",storeProductService.getList(1,20,ProductEnum.TYPE_3.getValue()));
|
||||
map.put("list",storeProductService.getList(1,30,ProductEnum.TYPE_3.getValue()));
|
||||
// 促销单品
|
||||
}else if(type.equals(ProductEnum.TYPE_4.getValue())){
|
||||
map.put("list",storeProductService.getList(1,20,ProductEnum.TYPE_4.getValue()));
|
||||
map.put("list",storeProductService.getList(1,30,ProductEnum.TYPE_4.getValue()));
|
||||
}
|
||||
|
||||
return ApiResult.ok(map);
|
||||
|
||||
@@ -119,12 +119,12 @@ public class BxgIndexController {
|
||||
.bargainList(yxStoreBargainService.getList(1,10))//砍价活动列表
|
||||
.seckillConfigVo(yxStoreSeckillService.getStoreSeckil())//秒杀配置
|
||||
.yxStoreSeckillQueryVoList(yxStoreSeckillService.getIndexList())//秒杀商品
|
||||
.bastList(storeProductService.getList(1,6, ProductEnum.TYPE_1.getValue()))
|
||||
.bastList(storeProductService.getList(1,10, ProductEnum.TYPE_1.getValue())) //精品推荐
|
||||
.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())
|
||||
.firstList(storeProductService.getList(1,6,ProductEnum.TYPE_3.getValue()))
|
||||
.likeInfo(storeProductService.getList(1,80,ProductEnum.TYPE_2.getValue()))
|
||||
.firstList(storeProductService.getList(1,6,ProductEnum.TYPE_3.getValue())) //首发新品
|
||||
.likeInfo(storeProductService.getList(1,80,ProductEnum.TYPE_2.getValue())) //热门榜单
|
||||
.mapKey(systemConfigService.getData(ShopKeyUtils.getTengXunMapKey()))
|
||||
//菜单
|
||||
.menus(systemGroupDataService.getDatas(ShopConstants.ZSW_HOME_MENUS))
|
||||
|
||||
Reference in New Issue
Block a user