退款申请接口实现优化

This commit is contained in:
dzl 2025-05-19 09:52:31 +08:00
parent f463f69e31
commit 5649266291

View File

@ -97,7 +97,7 @@ public class EbikeWxPaymentController {
@PostMapping("/reviewRefund")
public JsonResult<?> rejectRefund(@RequestBody ReqRefundProcessDto processDto) {
boolean r = wxPayService.refundReview(processDto);
return r?JsonResult.failed("退款失败"):JsonResult.success(r);
return !r?JsonResult.failed("退款失败"):JsonResult.success(r);
}
/**