饿鲜达商品分类修改
This commit is contained in:
@@ -1610,7 +1610,7 @@ func UpdateExianDaSkuCategory(ctx *jxcontext.Context, isAsync, isContinueWhenErr
|
||||
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
||||
v := batchItemList[0].(*model.SkuName)
|
||||
skuList, err := api.Ebai2API.GetEbaiDepotSku(ebaiapi.EbaiWholeCountryStore, *v.Upc)
|
||||
if err != nil || len(skuList) == 0 {
|
||||
if err != nil || len(skuList) == 0 || skuList[0] == nil {
|
||||
return retVal, err
|
||||
}
|
||||
sku, err := api.Ebai2API.GetEbaiSku(skuList[0].UpcID, ebaiapi.EbaiWholeCountryStore)
|
||||
|
||||
Reference in New Issue
Block a user