From f15f96a570e8ced3f68df51545753f952dc3b266 Mon Sep 17 00:00:00 2001 From: renzhiyuan <465386466@qq.com> Date: Tue, 28 Jul 2026 15:49:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E5=AE=9D=E7=BD=91=E9=A1=B5=E6=94=AF=E4=BB=98=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E9=97=AE=E9=A2=98=20=E5=B7=B2=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E8=AE=A2=E5=8D=95=E6=94=B6=E5=88=B0=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E5=9B=9E=E8=B0=83=E5=8A=A0=E5=85=A5=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/thirdpay/thirdpay_notify/notify.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/services/thirdpay/thirdpay_notify/notify.go b/app/services/thirdpay/thirdpay_notify/notify.go index 4c11d72..66dff24 100644 --- a/app/services/thirdpay/thirdpay_notify/notify.go +++ b/app/services/thirdpay/thirdpay_notify/notify.go @@ -209,20 +209,20 @@ func (o *OrderNotify) checkApp() { } func (o *OrderNotify) checkOrder() { - fmt.Println(fmt.Sprintf("检查订单状态:%d", o.order.Id)) + //fmt.Println(fmt.Sprintf("检查订单状态:%d", o.order.Id)) cond := builder.NewCond() cond = cond.And(builder.Eq{"id": o.OrderId}) o.order, o.Code = services.OrderFindOne(&ordersmodel.Orders{}, cond) if o.Code != errorcode.OrdersExist { return } - fmt.Println(fmt.Sprintf("收到回调,当前状态:%d", o.order.Status)) + //fmt.Println(fmt.Sprintf("收到回调,当前状态:%d", o.order.Status)) switch o.order.Status { case common.ORDER_STATUS_PAYING: return default: - fmt.Println(fmt.Sprintf("订单状态异常,加入异常数据表:%d", o.order.Status)) + //fmt.Println(fmt.Sprintf("订单状态异常,加入异常数据表:%d", o.order.Status)) exceptionModel := data.NewOrderExceptionRepo(orderexceptionmodel.GetInstance().GetDb()) _, err := exceptionModel.InsertOne(&orderexceptionmodel.OrderException{