退款申请接口实现优化
This commit is contained in:
parent
f463f69e31
commit
5649266291
@ -97,7 +97,7 @@ public class EbikeWxPaymentController {
|
|||||||
@PostMapping("/reviewRefund")
|
@PostMapping("/reviewRefund")
|
||||||
public JsonResult<?> rejectRefund(@RequestBody ReqRefundProcessDto processDto) {
|
public JsonResult<?> rejectRefund(@RequestBody ReqRefundProcessDto processDto) {
|
||||||
boolean r = wxPayService.refundReview(processDto);
|
boolean r = wxPayService.refundReview(processDto);
|
||||||
return r?JsonResult.failed("退款失败"):JsonResult.success(r);
|
return !r?JsonResult.failed("退款失败"):JsonResult.success(r);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user