From aa7fc8c4f44e22f71299512f10b95b96dcdc3942 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Sun, 8 Oct 2023 10:02:38 +0800 Subject: [PATCH] 1 --- business/partner/purchase/tiktok_store/store.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/business/partner/purchase/tiktok_store/store.go b/business/partner/purchase/tiktok_store/store.go index 519543058..10163e789 100644 --- a/business/partner/purchase/tiktok_store/store.go +++ b/business/partner/purchase/tiktok_store/store.go @@ -125,11 +125,13 @@ func (P *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri }, } if resp, err := a.BatchCreateStore(ShopBatchCreateStoreParam); err != nil { + globals.SugarLogger.Debugf("BatchCreateStore err=%v", err) return "", err } else { + globals.SugarLogger.Debugf("BatchCreateStore resp=%s", utils.Format4Output(resp, false)) //必须先存进数据库 storeMap := &model.StoreMap{ - VendorStoreID: vendorStoreID, + VendorStoreID: utils.Int64ToStr(resp.ResultList[0].Store.StoreId), StoreID: storeID, VendorID: model.VendorIDDD, VendorOrgCode: storeDetail.VendorOrgCode,