资源二级分类字典
BaseResultMap
[TOC]
简要描述
- 资源二级分类字典
请求URL
/resources/cmfSelectApi/getSecondType
请求方式
- get
参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
treeId | 是 | string | 一级字典key |
返回示例
{
"code": 200,
"data": {
"sortName": "汽车用途",
"typeName": "汽车分类",
"sort": [
{
"name": "自驾用车",
"treeId": "4-2-1",
"key": null
},
{
"name": "其他",
"treeId": "4-2-5",
"key": null
}
],
"type": [
{
"name": "大巴",
"treeId": "4-1-1",
"key": null
},
{
"name": "其他",
"treeId": "4-1-4",
"key": null
}
]
},
"message": "success"
}
返回参数说明
参数名 | 类型 | 说明 |
---|---|---|
type | String | 二级主分类 |
sort | String | 二级副分类 |
name | String | 字典value |
treeId | String | 字典key |
备注
- 更多返回错误代码请看首页的错误代码描述