diff --git a/business/partner/purchase/tiktok_store/store.go b/business/partner/purchase/tiktok_store/store.go index 0c233f525..ebc2f6274 100644 --- a/business/partner/purchase/tiktok_store/store.go +++ b/business/partner/purchase/tiktok_store/store.go @@ -281,8 +281,7 @@ func (P *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin timeStr = "" tempFenceID string FreightTemplate = &model.FreightTemplate{ - StoreID: storeID, - VendorStoreID: storeInfo.VendorStoreID, + StoreID: storeID, } ) if db == nil { @@ -378,6 +377,7 @@ func (P *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin } //同步进数据库 FreightTemplate.FenceID = tempFenceID + FreightTemplate.VendorStoreID = storeInfo.VendorStoreID if err := dao.ReplaceInsertFreight(FreightTemplate); err != nil { globals.SugarLogger.Debug("同步数据库错误信息:%v", err) }