mirror of
https://github.com/jeequan/jeepay
synced 2024-11-17 23:08:03 +08:00
修复订单关闭传递参数字段与文档描述不一致
This commit is contained in:
parent
cea60b1698
commit
83031d2f24
@ -58,8 +58,8 @@ public class CloseOrderController extends ApiController {
|
||||
//获取参数 & 验签
|
||||
ClosePayOrderRQ rq = getRQByWithMchSign(ClosePayOrderRQ.class);
|
||||
|
||||
if(StringUtils.isEmpty(rq.getPayOrderId())){
|
||||
throw new BizException("payOrderId不能为空");
|
||||
if(StringUtils.isAllEmpty(rq.getMchOrderNo(), rq.getPayOrderId())){
|
||||
throw new BizException("mchOrderNo 和 payOrderId 不能同时为空");
|
||||
}
|
||||
|
||||
PayOrder payOrder = payOrderService.queryMchOrder(rq.getMchNo(), rq.getPayOrderId(), rq.getMchOrderNo());
|
||||
|
Loading…
Reference in New Issue
Block a user