## 標簽獲取
~~~[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 | 文章類型 |