From b12b23fa6a0dfa1430bd22f4b8c56e05eca7147c Mon Sep 17 00:00:00 2001 From: "qiyunfanbo126.com" <815699> Date: Fri, 2 Aug 2024 10:05:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BB=B7=E6=A0=BC=E6=8E=92?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/OrderService.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/OrderService.go b/app/services/OrderService.go index 51e491d..251613e 100644 --- a/app/services/OrderService.go +++ b/app/services/OrderService.go @@ -217,7 +217,7 @@ func OrderNotify(request front.YouChuRequest) (NotifyResponse front.YouChuOrderN } _, err = ordersmodel.GetInstance().GetDb().Where("id = ?", order.Id).Update(ordersmodel.Orders{ExchangeTime: time.Now()}) - utils.Log(nil, "更新订单err", err) + utils.Log(nil, "更新订单err", order.Id, err) var productDetail productsmodel.Products has, err = productsmodel.GetInstance().GetDb().Where("id = ?", orderDetail.ProductId).Get(&productDetail) if err != nil || !has {