From a30b92ea68cdce78c37ab15bc46c10a66aaa189f Mon Sep 17 00:00:00 2001 From: renzhiyuan <465386466@qq.com> Date: Tue, 28 Jul 2026 15:35:27 +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 | 1 + main.go | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/services/thirdpay/thirdpay_notify/notify.go b/app/services/thirdpay/thirdpay_notify/notify.go index bb0013b..34cf6f2 100644 --- a/app/services/thirdpay/thirdpay_notify/notify.go +++ b/app/services/thirdpay/thirdpay_notify/notify.go @@ -208,6 +208,7 @@ func (o *OrderNotify) checkApp() { } func (o *OrderNotify) checkOrder() { + utils.Log(nil, "检查订单状态:%d", o.order.Id) cond := builder.NewCond() cond = cond.And(builder.Eq{"id": o.OrderId}) o.order, o.Code = services.OrderFindOne(&ordersmodel.Orders{}, cond) diff --git a/main.go b/main.go index e7d4b1b..9f7b9dc 100644 --- a/main.go +++ b/main.go @@ -4,6 +4,7 @@ import ( "PaymentCenter/app/console" "PaymentCenter/app/http/routes" "PaymentCenter/app/jobs" + "PaymentCenter/app/utils" "PaymentCenter/bootstrap" "PaymentCenter/config" _ "PaymentCenter/docs" @@ -66,7 +67,7 @@ func main() { fmt.Printf("%s\ncommit %s\nbuilt on %s\n", server.Version, server.BuildCommit, server.BuildDate) os.Exit(0) } - + utils.Log(nil, "正在启动服务...") handleCmd(opts) err := startServer(opts)