- 因应饿百门店商品操作API的返回结果变更修改
This commit is contained in:
@@ -209,6 +209,8 @@ func UnselectStoreSkuListByVendorSkuIDs(storeSkuList []*partner.StoreSkuInfo, ve
|
||||
selectedStoreSkuList = append(selectedStoreSkuList, storeSkuMap[v])
|
||||
}
|
||||
}
|
||||
} else {
|
||||
selectedStoreSkuList = storeSkuList
|
||||
}
|
||||
return selectedStoreSkuList
|
||||
}
|
||||
@@ -224,6 +226,8 @@ func UnselectStoreSkuSyncListByVendorSkuIDs(storeSkuList []*dao.StoreSkuSyncInfo
|
||||
selectedStoreSkuList = append(selectedStoreSkuList, storeSkuMap[v])
|
||||
}
|
||||
}
|
||||
} else {
|
||||
selectedStoreSkuList = storeSkuList
|
||||
}
|
||||
return selectedStoreSkuList
|
||||
}
|
||||
@@ -236,6 +240,8 @@ func UnselectStoreSkuListBySkuIDs(storeSkuList []*partner.StoreSkuInfo, skuIDs [
|
||||
selectedStoreSkuList = append(selectedStoreSkuList, storeSkuMap[v])
|
||||
}
|
||||
}
|
||||
} else {
|
||||
selectedStoreSkuList = storeSkuList
|
||||
}
|
||||
return selectedStoreSkuList
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user