mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
docs: 订单类注释优化
This commit is contained in:
parent
96d666336c
commit
92c97a0f90
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user