## 查询一级分类
~~~[api]
get:/goodsCategory/cloth/twoLevel
<<<
success
{
"retCode": 0,
"retMsg": "success",
"responseInfo": "[
{
"id": "cloth",
"name": "cloths"
}, {
"id": "shoe",
"name": "shoes"
}, {
"id": "beauty",
"name": "beauty"
}
]"
}
<<<
error
{
"retCode": !0,
"retMsg": "errMsg"
}
~~~
## 查询二级级分类
~~~[api]
get:/goodsCategory/{一级分类的id}/twoLevel
<<<
success
{
"retCode": 0,
"retMsg": "success",
"responseInfo": "[
{
"id": "shoe_man",
"pfile": "shoe",
"name": "shoe_man"
}, {
"id": "shoe_woman",
"pfile": "shoe",
"name": "shoe_women"
}, {
"id": "shoe_kids",
"pfile": "shoe",
"name": "child_shoe"
}
]"
}
<<<
error
{
"retCode": !0,
"retMsg": "errMsg"
}
~~~