diff --git a/app/services/thirdpay/pay.go b/app/services/thirdpay/pay.go index 382968c..0d95185 100644 --- a/app/services/thirdpay/pay.go +++ b/app/services/thirdpay/pay.go @@ -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 }