From 9b7f904108bf0c6ca44a6b7888412ca6eb98bf6e Mon Sep 17 00:00:00 2001 From: Rzy <465386466@qq.com> Date: Thu, 8 Aug 2024 17:00:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E8=B0=83=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/thirdpay/thirdpay_notify/notify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/thirdpay/thirdpay_notify/notify.go b/app/services/thirdpay/thirdpay_notify/notify.go index a0c06d4..70e0798 100644 --- a/app/services/thirdpay/thirdpay_notify/notify.go +++ b/app/services/thirdpay/thirdpay_notify/notify.go @@ -146,7 +146,7 @@ func (o *OrderNotify) checkOrder() { cond := builder.NewCond() cond = cond.And(builder.Eq{"id": o.OrderId}) o.order, o.Code = services.OrderFindOne(&ordersmodel.Orders{}, cond) - if o.Code != errorcode.Success { + if o.Code != errorcode.OrdersExist { return }