Merge branch 'develop' of gitee.com:youlaitech/youlai-mall into develop

This commit is contained in:
郝先瑞 2022-01-13 00:06:31 +08:00
commit 5f79d18e3e

View File

@ -86,4 +86,11 @@ public class OrderController {
boolean result = orderService.deleteOrder(orderId);
return Result.judge(result);
}
@ApiOperation("订单取消")
@PutMapping("/cancel")
public Result cancel( @RequestParam Long id){
boolean result = orderService.cancelOrder(id);
return Result.judge(result);
}
}