fence map
This commit is contained in:
@@ -6033,7 +6033,7 @@ func AssistCreateFence(relInfo map[string][]tiktok_store.RelInfo) (string, error
|
||||
endStr = tStr1 + "," + tStr2
|
||||
globals.SugarLogger.Debugf("京西平台没有配送范围的门店ID=%s", endStr)
|
||||
}
|
||||
if bindFence, err := tiktok_store.GetWarehouseByStore(k, utils.Str2Int64(i.VendorStoreID)); err == nil && len(bindFence) > 0 {
|
||||
if bindFence, err := tiktok_store.GetWarehouseByStore(k, utils.Str2Int64(i.VendorStoreID)); err == nil && (len(bindFence) > 0 && len(bindFence[i.VendorStoreID][0].OutFenceIds) > 0) {
|
||||
globals.SugarLogger.Debugf("i.VendorStoreID==========%s,i.StoreID==============%s", i.VendorStoreID, i.StoreID)
|
||||
tempFenceID = bindFence[i.VendorStoreID][0].OutFenceIds[0]
|
||||
globals.SugarLogger.Debugf("tempFenceID================%s", tempFenceID)
|
||||
|
||||
Reference in New Issue
Block a user