mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 13:03:43 +08:00
Merge branch 'develop' of gitee.com:youlaitech/youlai-mall into develop
This commit is contained in:
commit
5f79d18e3e
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user