|
@@ -169,7 +169,7 @@ public class GoodsWholesaleWebController {
|
|
|
* 取消批发订单
|
|
* 取消批发订单
|
|
|
*/
|
|
*/
|
|
|
@PutMapping("/close/order/{orderId}")
|
|
@PutMapping("/close/order/{orderId}")
|
|
|
- public Result<String> closeWholesaleOrder(@PathVariable Long orderId) {
|
|
|
|
|
|
|
+ public Result<String> closeWholesaleOrder(@PathVariable Long orderId) throws Exception {
|
|
|
long userId = StpUserUtil.getLoginIdAsLong();
|
|
long userId = StpUserUtil.getLoginIdAsLong();
|
|
|
goodsWholesalePayService.closeWholesaleOrder(orderId, userId);
|
|
goodsWholesalePayService.closeWholesaleOrder(orderId, userId);
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult();
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult();
|