This commit is contained in:
richboo111
2023-10-08 11:21:35 +08:00
parent 2f06a4251f
commit 9ccbe286bc

View File

@@ -6344,7 +6344,9 @@ func CreateDDWarehouse(vendorOrgCode string, vendorStoreID, storeID int64) error
}
warehouseID, err1 := tiktok_store.CreateWarehouse(vendorOrgCode, storeID)
if err1 != nil || warehouseID == 0 {
errList.AddErr(fmt.Errorf("门店(%d) 创建仓库失败:%v", storeID, err1))
//errList.AddErr(fmt.Errorf("门店(%d) 创建仓库失败:%v", storeID, err1))
globals.SugarLogger.Debugf("CreateDDWarehouse hint=%v", fmt.Errorf("门店(%d) 创建仓库失败:%v", storeID, err1))
}
err1 = tiktok_store.BindStoreWarehouse(vendorOrgCode, utils.Int64ToStr(storeID), vendorStoreID)
if err1 != nil { //仓库绑定通过自定义外部ID