From fc2144b70884005b71f05c831659cddc0cf8cf74 Mon Sep 17 00:00:00 2001 From: sj <1304317391@qq.com> Date: Sat, 19 Nov 2022 21:12:30 +0800 Subject: [PATCH] ssj --- yudao-server/src/main/resources/application-local.yaml | 2 +- .../modules/product/rest/AppStoreProductController.java | 8 ++++---- .../yixiang/app/modules/shop/rest/BxgIndexController.java | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml index 1d158e1c..b1f16aab 100644 --- a/yudao-server/src/main/resources/application-local.yaml +++ b/yudao-server/src/main/resources/application-local.yaml @@ -244,7 +244,7 @@ dubbo: bxg: shop: # 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 UNI_SITE_URL: http://192.168.10.113:48080/bxgApp ADMIN_API_URL: http://192.168.10.113:48080/bxg diff --git a/zsw-bxg/src/main/java/co/yixiang/app/modules/product/rest/AppStoreProductController.java b/zsw-bxg/src/main/java/co/yixiang/app/modules/product/rest/AppStoreProductController.java index 472818ce..a23ec8cd 100644 --- a/zsw-bxg/src/main/java/co/yixiang/app/modules/product/rest/AppStoreProductController.java +++ b/zsw-bxg/src/main/java/co/yixiang/app/modules/product/rest/AppStoreProductController.java @@ -92,16 +92,16 @@ public class AppStoreProductController { Map 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); diff --git a/zsw-bxg/src/main/java/co/yixiang/app/modules/shop/rest/BxgIndexController.java b/zsw-bxg/src/main/java/co/yixiang/app/modules/shop/rest/BxgIndexController.java index 6055ad78..d46122fe 100644 --- a/zsw-bxg/src/main/java/co/yixiang/app/modules/shop/rest/BxgIndexController.java +++ b/zsw-bxg/src/main/java/co/yixiang/app/modules/shop/rest/BxgIndexController.java @@ -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))