修改bug

This commit is contained in:
Rzy 2024-08-12 18:09:24 +08:00
parent 45bc1e9cf0
commit b34dd4f96f
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,10 @@ func ThirdPayRefundCheck(ctx context.Context, refundReq *front.RefundReqs, appCh
check = thirdpay.NewPayCheck(&ctx, &req, appCheck, ip)
// 校验表单
check.CheckPayInfo()
if check.CheckCode != errorcode.Success {
return check, check.CheckCode
}
check.CheckOrderRefund()
return check, check.CheckCode
}