diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/admin/OrderController.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/admin/OrderController.java index 1728ea4f2..7d23932a2 100644 --- a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/admin/OrderController.java +++ b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/admin/OrderController.java @@ -13,7 +13,6 @@ import com.youlai.mall.ums.api.MemberFeignClient; import com.youlai.mall.ums.pojo.dto.MemberDTO; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; -import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; @@ -29,7 +28,7 @@ import java.util.Optional; * @email huawei_code@163.com * @date 2020-12-30 22:31:10 */ -@Api(tags = "【系统管理】订单服务") +@Api(tags = "系统管理_订单管理") @RestController("adminOrderController") @RequestMapping("/api/v1/orders") @Slf4j diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/CartController.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/CartController.java index b1830cfb3..57a07d61a 100644 --- a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/CartController.java +++ b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/CartController.java @@ -21,7 +21,7 @@ import java.util.List; * @date 2020-12-30 22:31:10 */ -@Api(tags = "【移动端】购物车") +@Api(tags = "移动端_购物车管理") @RestController @RequestMapping("/app-api/v1/carts") @Slf4j diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/OrderController.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/OrderController.java index e7a5eff49..753fb2678 100644 --- a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/OrderController.java +++ b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/OrderController.java @@ -27,7 +27,7 @@ import javax.validation.Valid; * @email huawei_code@163.com * @date 2020-12-30 22:31:10 */ -@Api(tags = "【移动端】订单服务") +@Api(tags = "移动端_订单管理") @RestController @RequestMapping("/app-api/v1/orders") @Slf4j @@ -89,7 +89,7 @@ public class OrderController { @ApiOperation("订单取消") @PutMapping("/cancel") - public Result cancel( @RequestParam Long id){ + public Result cancel(@RequestParam Long id) { boolean result = orderService.cancelOrder(id); return Result.judge(result); }