From 47e03d0aa72b6bd1c62c4ecff0c25289890f7abc Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Wed, 12 Feb 2025 10:49:17 +0800 Subject: [PATCH] refactor(mall): 根据系统配置选择不同的物流服务接口 - 在 AdminMallOrderService 和 CommonService 中添加了根据系统配置选择物流服务接口的逻辑 - 新增了 SENDER_STATE 数据字典项,用于控制使用测试环境还是生产环境的物流服务 - 根据系统配置,选择不同的 ClientParamEnum 实例来调用 --- src/main/java/cc/mrbird/febs/mall/controller/ApiMallGoodsCategoryController.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/controller/ApiMallGoodsCategoryController.java b/src/main/java/cc/mrbird/febs/mall/controller/ApiMallGoodsCategoryController.java index a7f6555..3a525be 100644 --- a/src/main/java/cc/mrbird/febs/mall/controller/ApiMallGoodsCategoryController.java +++ b/src/main/java/cc/mrbird/febs/mall/controller/ApiMallGoodsCategoryController.java @@ -29,7 +29,7 @@ private final IApiMallGoodsCategoryService mallGoodsCategoryService; - @ApiOperation(value = "findAllCategoryList", notes = "获取商品分类列表") + @ApiOperation(value = "获取商品分类列表", notes = "获取商品分类列表") @ApiResponses({ @ApiResponse(code = 200, message = "success", response = MallGoodsCategoryVo.class) }) @@ -38,13 +38,13 @@ return new FebsResponse().success().data(mallGoodsCategoryService.findAllCategoryList()); } - @ApiOperation(value = "findChildCategoryListById", notes = "获取父分类下分类") + @ApiOperation(value = "获取父分类下分类", notes = "获取父分类下分类") @GetMapping(value = "/findChildCategoryListById/{id}") public FebsResponse findChildCategoryListById(@PathVariable("id") Long id) { return new FebsResponse().success().data(mallGoodsCategoryService.findChildCategoryListById(id)); } - @ApiOperation(value = "findRecommendCategory", notes = "获取推荐分类") + @ApiOperation(value = "获取推荐分类", notes = "获取推荐分类") @GetMapping(value = "/findRecommendCategory") public FebsResponse findRecommendCategory() { return new FebsResponse().success().data(mallGoodsCategoryService.findRecommendCategory()); -- Gitblit v1.9.1