[TOC=2]
## 枚舉變量
### 來源:( source )
| 可選值 | 說明 |
| --- | --- |
| website | 官網 |
| android | 安卓 |
| ios | ios |
| mall | 商城 |
### 狀態:( status )
| 可選值 | 說明 |
| --- | --- |
| pending | 待處理 |
| processed | 已處理 |
| ignore | 已忽略 |
## 意向列表
~~~[api]
get:/cooperation/list
int:current_page=1#當前頁
int:page_number=10#頁碼
<<<
success
{
"code": 0,
"data": {
"list": [
{
"id": 1,
"source": "ios",//來源 見枚舉變量
"name": "123",//姓名
"phone": "13333333333",//手機號
"email": "123@qq.com",//郵箱
"intention": "郵箱入股",//合作意向
"status": "pending",//狀態
"create_time": "2018-05-15 16:53:33"//申請時間
}
],
"current_page": 1,//當前頁
"page_number": 10,//頁碼
"total": 1//總條數
}
}
~~~
## 意向處理
~~~[api]
post:/cooperation/process
*int:id=1#id
*string:status=ignore#忽略
<<<
success
{
"code": 0,
"data": {
"id": 1,
"status": "ignore"
}
}
~~~
## 批量處理
~~~[api]
post:/cooperation/processBatch
*array:id_list=[1]#id 數組
*string:status=ignore#忽略
<<<
success
{
"code": 0
}
~~~
## 意向刪除
~~~[api]
post:/cooperation/delete
*int:id=1#id
<<<
success
{
"code": 0,
"data": {
"id": 1
}
}
~~~
## 批量刪除
~~~[api]
post:/cooperation/deleteBatch
*array:id_list=[1]#id 數組
<<<
success
{
"code": 0
}
~~~