## 标签获取
~~~[api]
get:/label-list.json
string:type#标签类型
int:pid#上级ID
int:limit=20#每页数据条数
int:page=1#页码
<<<
success
{
"status": "success",
"msg": "获取成功",
"result": [
{
"id": 14,
"cls_type": "article_type",
"cls_pid": 11,
"cls_name": "轮播图",
"cls_img": "",
"cls_color": "",
"cls_sort": 100,
"cls_state": "1",
"cls_time": "1970-01-01 08:00:00"
},
{
"id": 15,
"cls_type": "article_type",
"cls_pid": 11,
"cls_name": "公告",
"cls_img": "",
"cls_color": "",
"cls_sort": 100,
"cls_state": "1",
"cls_time": "1970-01-01 08:00:00"
},
{
"id": 16,
"cls_type": "article_type",
"cls_pid": 11,
"cls_name": "通知",
"cls_img": "",
"cls_color": "",
"cls_sort": 100,
"cls_state": "1",
"cls_time": "1970-01-01 08:00:00"
},
{
"id": 17,
"cls_type": "article_type",
"cls_pid": 11,
"cls_name": "问题解决",
"cls_img": "",
"cls_color": "",
"cls_sort": 100,
"cls_state": "1",
"cls_time": "1970-01-01 08:00:00"
},
{
"id": 18,
"cls_type": "article_type",
"cls_pid": 11,
"cls_name": "协议",
"cls_img": "",
"cls_color": "",
"cls_sort": 100,
"cls_state": "1",
"cls_time": "1970-01-01 08:00:00"
}
],
"page": {
"count": 5,
"current": 1,
"limit": "20",
"total": 1
}
}
~~~
#### 字段列表
| 字段名 | 说明 |
| --- | --- |
| id | 标签ID |
| cls_type | 标签类型 |
| cls_name | 标签名称 |
| cls_img | 标签图标 |
| cls_color | 标签颜色 |
#### 标签类型[cls_type ]
| 值 | 说明 |
| --- | --- |
| work_type | 工作类型标签 |
| work_welfare | 工作福利标签 |
| work_status | 工作状态标签 |
| work_salary | 工作收入标签 |
| work_integral | 积分单位标签 |
| work_other | 工作其他成本标签 |
| work_company | 工作单位标签 |
| company | 企业用户标签 |
| admin | 管理员组标签 |
| user | 求职用户标签 |
| feedback_type | 反馈类型 |
| article_type | 文章类型 |