[TOC=2]
## 枚舉字段
### 工種類別說明:
| 可選值 | 說明 |
| --- | --- |
| crops | 有蔬菜 |
| others | 不選蔬菜 |
## 工種列表
>[info] limit 表示需要查詢的條數 不想要數 參數填 0 或者不傳
~~~[api]
get:/job/categoryList
int:limit=0#查詢條數
<<<
success
{
"code": 0,
"data": [
{
"id": 1,
"name": "",//工種名
"icon": "",//工種圖片地址
"description": "",//工種描述
"type": "crops"//工種類別
}
]
}
~~~
>[info] 工種類型 vegetable 表示需要選擇蔬菜 others 表示不選擇蔬菜
## 工種下的蔬菜
>[info] 工種 id 蔬菜分類 id 根據獲取的工種列表 蔬菜分類列表的 id 來進行傳值
>查詢條數 根據自己的需要填寫正整數
~~~[api]
get:/job/list
*int:category_id=0#工種id
*int:category2_id=0#蔬菜分類
int:current_page=1#當前頁
int:page_number=10#頁碼
<<<
success
{
"code": 0,
"data": [
{
"id": 1,
"name": "",//蔬菜名
"icon": "",//蔬菜圖片地址
"description": "",//蔬菜描述
"specifications": [],//具體的工作需求
"category_id": 1,//工種id
"category2_id": 1//分類id
}
]
}
~~~
## 工作詳情
~~~[api]
get:/job/detail
*int:id=1#蔬菜列表的id
<<<
success
{
"code": 0,
"data": {
"id": 1,
"name": "",
"icon": "",
"description": "",
"specifications": [],
"category_id": 1,
"category2_id": 1
}
}
~~~
## 獲取所有的蔬菜分類
~~~[api]
get:/job/category2List
<<<
success
{
"code": 0,
"data": [
{
"id": 2,
"name": ""//分類名
}
]
}
~~~
## 搜索蔬菜分類
>[info] 默認搜索所有的蔬菜分類
~~~[api]
get:/job/search
string:search=""#搜索內容
<<<
success
{
"code": 0,
"data": [
{
"id": 2,
"name": ""//分類名
}
]
}
~~~
- 使用須知
- 共用數據
- 數據庫
- 管理員
- 管理--登錄注冊
- 管理--個人資料
- 管理--工種相關
- 管理--工作相關
- 管理--蔬菜分類
- 管理--訂單相關
- 管理--用戶相關
- 管理--消息相關
- 管理--banner
- 管理--認證相關
- 管理--蔬菜改版
- 雇主端
- 雇主--登錄注冊
- 雇主--個人資料
- 雇主--設備相關
- 雇主--控制設備
- 雇主--用工地址
- 雇主--我的收藏
- 雇主--工種相關
- 雇主--我的訂單
- 雇主--我的紅包
- 雇主--評價訂單
- 雇主--消息相關
- 雇主--積分相關
- 雇主--民工列表
- 雇主--banner
- 雇主--邀請注冊
- 雇主--分享民工
- 民工端
- 民工--登錄注冊
- 民工--個人資料
- 民工--我的紅包
- 民工--訂單相關
- 民工--我的訂單
- 民工--評價訂單
- 民工--消息相關
- 民工--積分相關
- 民工--認證相關
- 民工--工種相關
- 民工--會員相關
- 民工--分享相關
- 民工--服務區域
- 民工--服務技能
- 民工--邀請注冊