POST:/Merchandise/Product/GetCategoryList
参数:
{
"pid":1007
}
-- pid = 应用ID
返回:
{
"message": "成功",
"code": 1,
"value": [
{
"id": 1008,
"parentId": 1007,
"name": "水果蔬菜",
"category": [
{
"id": 1013,
"parentId": 1008,
"name": "热带水果",
"category": null,
"url": ""
},
{
"id": 1014,
"parentId": 1008,
"name": "车厘子/莓果",
"category": null,
"url": ""
},
{
"id": 1015,
"parentId": 1008,
"name": "苹果/梨",
"category": null,
"url": ""
},
{
"id": 1016,
"parentId": 1008,
"name": "绿叶菜/菌菇",
"category": null,
"url": ""
},
{
"id": 1017,
"parentId": 1008,
"name": "葱姜蒜/调味",
"category": null,
"url": ""
}
],
"url": ""
},
{
"id": 1009,
"parentId": 1007,
"name": "肉禽蛋品",
"category": [
{
"id": 1018,
"parentId": 1009,
"name": "鸡鸭鹅",
"category": null,
"url": ""
},
{
"id": 1019,
"parentId": 1009,
"name": "牛肉",
"category": null,
"url": ""
},
{
"id": 1020,
"parentId": 1009,
"name": "羊肉",
"category": null,
"url": ""
},
{
"id": 1021,
"parentId": 1009,
"name": "猪肉",
"category": null,
"url": ""
}
],
"url": ""
},
{
"id": 1010,
"parentId": 1007,
"name": "海鲜水产",
"category": [
{
"id": 1022,
"parentId": 1010,
"name": "生蚝海参",
"category": null,
"url": ""
},
{
"id": 1023,
"parentId": 1010,
"name": "鱼",
"category": null,
"url": ""
},
{
"id": 1024,
"parentId": 1010,
"name": "贝",
"category": null,
"url": ""
}
],
"url": ""
},
{
"id": 1011,
"parentId": 1007,
"name": "素食冷冻",
"category": [
{
"id": 1025,
"parentId": 1011,
"name": "蛋糕/点心",
"category": null,
"url": ""
},
{
"id": 1026,
"parentId": 1011,
"name": "海鲜半成品",
"category": null,
"url": ""
},
{
"id": 1027,
"parentId": 1011,
"name": "方便菜肴",
"category": null,
"url": ""
}
],
"url": ""
},
{
"id": 1012,
"parentId": 1007,
"name": "粮油食品",
"category": [
{
"id": 1028,
"parentId": 1012,
"name": "调味料",
"category": null,
"url": ""
},
{
"id": 1029,
"parentId": 1012,
"name": "南北干货",
"category": null,
"url": ""
}
],
"url": ""
}
]
}