jiangqs
2023-06-27 046d7ac5bbef4cbb6c6b64f3589e2722d13a07a5
ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/miniapp/AppHomeController.java
@@ -59,8 +59,7 @@
            shopId = appRecommendGoodsPageDto.getPositionShopId();
        }
        if(shopId==null){
            //throw new ServiceException(AppErrorConstant.NO_POSITION);
            shopId = 1L;
            throw new ServiceException(AppErrorConstant.NO_POSITION);
        }
        Page<AppSimpleGoodsVo> page = new Page<>();
        page.setSize(appRecommendGoodsPageDto.getPageSize());