ssj
This commit is contained in:
@@ -244,7 +244,7 @@ dubbo:
|
|||||||
bxg:
|
bxg:
|
||||||
shop:
|
shop:
|
||||||
# API_URL: http://192.168.10.113:48080/bxgApp
|
# API_URL: http://192.168.10.113:48080/bxgApp
|
||||||
API_URL: https://63eb-27-19-79-42.jp.ngrok.io
|
API_URL: https://98f4-27-19-79-42.jp.ngrok.io
|
||||||
SITE_URL: http://192.168.10.113:48080/bxgApp
|
SITE_URL: http://192.168.10.113:48080/bxgApp
|
||||||
UNI_SITE_URL: http://192.168.10.113:48080/bxgApp
|
UNI_SITE_URL: http://192.168.10.113:48080/bxgApp
|
||||||
ADMIN_API_URL: http://192.168.10.113:48080/bxg
|
ADMIN_API_URL: http://192.168.10.113:48080/bxg
|
||||||
|
|||||||
+4
-4
@@ -92,16 +92,16 @@ public class AppStoreProductController {
|
|||||||
Map<String,Object> map = new LinkedHashMap<>();
|
Map<String,Object> map = new LinkedHashMap<>();
|
||||||
// 精品推荐
|
// 精品推荐
|
||||||
if(ProductEnum.TYPE_1.getValue().equals(type)){
|
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())){
|
}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())){
|
}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())){
|
}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);
|
return ApiResult.ok(map);
|
||||||
|
|||||||
@@ -119,12 +119,12 @@ 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,6, ProductEnum.TYPE_1.getValue()))
|
.bastList(storeProductService.getList(1,10, 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,6,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))
|
||||||
|
|||||||
Reference in New Issue
Block a user