创建商品
This commit is contained in:
@@ -301,7 +301,10 @@ func (a *API) FindValuesByAttrId(categoryAttrId int) (findValuesByAttrIdResult [
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
utils.Map2StructByJson(result["jingdong_category_read_findValuesByAttrIdUnlimit_responce"].(map[string]interface{})["findvaluesbyattridunlimit_result"], &findValuesByAttrIdResult, false)
|
utils.Map2StructByJson(result["jingdong_category_read_findValuesByAttrIdUnlimit_responce"].(map[string]interface{})["findvaluesbyattridunlimit_result"], &findValuesByAttrIdResult, false)
|
||||||
}
|
}
|
||||||
return findValuesByAttrIdResult, findValuesByAttrIdResult[len(findValuesByAttrIdResult)-1].OrderSort, err
|
if len(findValuesByAttrIdResult) > 0 {
|
||||||
|
maxOrder = findValuesByAttrIdResult[len(findValuesByAttrIdResult)-1].OrderSort
|
||||||
|
}
|
||||||
|
return findValuesByAttrIdResult, maxOrder, err
|
||||||
}
|
}
|
||||||
|
|
||||||
//新增类目属性值
|
//新增类目属性值
|
||||||
|
|||||||
Reference in New Issue
Block a user