From d03aa64fbbc3af1ecf7f3857c9db2f0ea238789d Mon Sep 17 00:00:00 2001 From: kanade Date: Tue, 6 Sep 2022 17:12:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/api/mobile/pay/wxpay/query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/mobile/pay/wxpay/query.go b/internal/api/mobile/pay/wxpay/query.go index 8fac894..2eef04d 100755 --- a/internal/api/mobile/pay/wxpay/query.go +++ b/internal/api/mobile/pay/wxpay/query.go @@ -26,7 +26,7 @@ func queryMore(virtualID uint) (error, uint) { } var status uint for _, v := range od { - if v.Status != 1 && v.Status != 0 { + if v.Status != 1 && v.Status != 0 && !v.IsSplit { return errors.New("当前状态不可查询"), 0 } status = v.Status