aa
This commit is contained in:
@@ -894,6 +894,7 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
|
|||||||
}
|
}
|
||||||
attrsProp = append(attrsProp, attrrmsj)
|
attrsProp = append(attrsProp, attrrmsj)
|
||||||
}
|
}
|
||||||
|
//牛肉创建不一样
|
||||||
if storeSku.VendorVendorCatID == jdshopapi.JdsBeefCatID {
|
if storeSku.VendorVendorCatID == jdshopapi.JdsBeefCatID {
|
||||||
var exValueID int64
|
var exValueID int64
|
||||||
values2, _, err2 := getAPI(storeSku.VendorOrgCode).FindValuesByAttrId(150390)
|
values2, _, err2 := getAPI(storeSku.VendorOrgCode).FindValuesByAttrId(150390)
|
||||||
@@ -908,6 +909,7 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
|
|||||||
AttrValues: []string{utils.Int64ToStr(exValueID)},
|
AttrValues: []string{utils.Int64ToStr(exValueID)},
|
||||||
}
|
}
|
||||||
attrsProp = append(attrsProp, attrex)
|
attrsProp = append(attrsProp, attrex)
|
||||||
|
wareSaveParam.LastCategoryID = 17902
|
||||||
}
|
}
|
||||||
attrZctj := &jdshopapi.CreateSkuParamAttrs{
|
attrZctj := &jdshopapi.CreateSkuParamAttrs{
|
||||||
AttrID: utils.Int2Str(attrIDs["贮存条件"]),
|
AttrID: utils.Int2Str(attrIDs["贮存条件"]),
|
||||||
|
|||||||
Reference in New Issue
Block a user