From 3f3fb5f106cfb18c977d7b9243cdaa8b47e20c12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 15 Nov 2022 15:35:20 +0800 Subject: [PATCH] 1 --- business/partner/purchase/tiktok_store/store_sku2_utils.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/partner/purchase/tiktok_store/store_sku2_utils.go b/business/partner/purchase/tiktok_store/store_sku2_utils.go index c5763275f..46bb36bfc 100644 --- a/business/partner/purchase/tiktok_store/store_sku2_utils.go +++ b/business/partner/purchase/tiktok_store/store_sku2_utils.go @@ -264,7 +264,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI } temp.TemplateID = param.FreightId globals.SugarLogger.Debugf("================temp:= %s", utils.Format4Output(temp, false)) - _, err = dao.UpdateEntity(db, &temp, "TemplateID") + _, err = dao.UpdateEntity(db, temp, "TemplateID") globals.SugarLogger.Debugf("================err:= %s", utils.Format4Output(err, false)) } if temp.TradeLimitID != 0 { @@ -276,7 +276,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI return nil, err } temp.TradeLimitID = param.SaleLimitId - _, err = dao.UpdateEntity(db, &temp, "TradeLimitID") + _, err = dao.UpdateEntity(db, temp, "TradeLimitID") globals.SugarLogger.Debugf("================2err:= %s", utils.Format4Output(err, false)) } }