- syncStoreSkuNew中可能的越界错(GetStoreSkusFullInfo不返回错误并不一定表示有结果)
This commit is contained in:
@@ -366,7 +366,7 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, isFull bo
|
|||||||
&partner.StoreSkuInfo{
|
&partner.StoreSkuInfo{
|
||||||
SkuID: batchedStoreSkuList[0].SkuID,
|
SkuID: batchedStoreSkuList[0].SkuID,
|
||||||
},
|
},
|
||||||
}); err2 == nil {
|
}); err2 == nil && len(skuNameList) > 0 {
|
||||||
batchedStoreSkuList[0].VendorNameID = skuNameList[0].VendorNameID
|
batchedStoreSkuList[0].VendorNameID = skuNameList[0].VendorNameID
|
||||||
batchedStoreSkuList[0].VendorSkuID = skuNameList[0].SkuList[0].VendorSkuID
|
batchedStoreSkuList[0].VendorSkuID = skuNameList[0].SkuList[0].VendorSkuID
|
||||||
err = nil
|
err = nil
|
||||||
|
|||||||
Reference in New Issue
Block a user