|
@@ -239,6 +239,16 @@ public class OrderController extends CommonController {
|
|
|
return process(() -> orderService.refundOrder(toolWxConfigService.findConf(), orderService.getById(outTradeNo)));
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @Operation(summary = "后台订单退款", security = {@SecurityRequirement(name = "Authorization")})
|
|
|
+ @GetMapping("/{id}/refundOrder")
|
|
|
+ public Result<?> refundOrders(
|
|
|
+ @Parameter(description = "订单表ID") @PathVariable Long id
|
|
|
+ ) {
|
|
|
+ CommonResult<String> process = process(() -> orderService.refundOrder(toolWxConfigService.findConf(), orderService.getById(id)));
|
|
|
+ return Result.success(process);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 支付回调给微信确认
|
|
|
*
|