|
@@ -57,7 +57,7 @@ public class OrderController {
|
|
|
return orderService.pay(orderId);
|
|
|
}
|
|
|
|
|
|
- @RequestMapping(value = "/pay/{orderId}", method = RequestMethod.DELETE)
|
|
|
+ @RequestMapping(value = "/{orderId}", method = RequestMethod.DELETE)
|
|
|
public APIResult<Boolean> cancel(@PathVariable("orderId") String orderId) {
|
|
|
return orderService.cancel(orderId);
|
|
|
}
|