## 获取所在行业
~~~[api]
get:index/User/industry
*user_token=1%4016c96d9a163cd878764d2122ef8cf42e#登录之后的密钥
<<<
success
{
"code": 0,
"msg": "获取成功",
"data": [
{
"id": 1,
"title": "计算机/互联网/通信/电子",
"pid": 0
"children": [
{
"id": 12,
"title": "web开发",
"pid": 1
"children": []
},
{
"id": 13,
"title": "网络运营",
"pid": 1
"children": []
}
]
},
{
"id": 2,
"title": "会计/金融/银行/保险",
"pid": 0
"children": [
{
"id": 17,
"title": "会计",
"pid": 2
"children": []
}
]
},
{
"id": 3,
"title": "贸易/消费/制造/营运",
"pid": 0
"children": []
},
{
"id": 4,
"title": "制药/医疗",
"pid": 0
"children": []
}
]
}
~~~
### 返回字段说明
| 字段 | 说明 |
| --- | --- |
| id | 行业的ID |
| title | 行业的名称 |
| pid | 行业的父级id |
| children | 行业下面的子信息 |