[TOC=2]
## 枚舉變量
### 來源:( source )
| 可選值 | 說明 |
| --- | --- |
| website | 官網 |
| android | 安卓 |
| ios | ios |
| mall | 商城 |
## 信息列表
~~~[api]
get:/feedback/list
*string:user_id=123#用戶id
int:current_page=1#當前頁
int:page_number=10#頁碼
string:flavor=iKEICN#包名
<<<
success
{
"code": 0,
"data": {
"list": [
{
"id": 3,
"source": "ios",//來源 見枚舉變量
"name": "123",//姓名
"phone": "13333333333",//手機號
"email": "123@qq.com",//郵箱
"content": "郵箱入股",//反饋內容
"status": "pending",//狀態 app 沒有說暫時不用
"create_time": "2018-05-21 14:31:10",//創建時間
"user_id": "12456"//用戶id
}
],
"current_page": 0,
"page_number": 0,
"total": 1
}
}
~~~
## 反饋詳情
~~~[api]
get:/feedback/detail
*int:id=1#id
<<<
success
{
"code": 0,
"data": {
"id": 3,
"source": "ios",
"name": "123",
"phone": "13333333333",
"email": "123@qq.com",
"content": "郵箱入股",
"status": "pending",
"create_time": "2018-05-21 14:31:10",
"user_id": "12456"
}
}
~~~
## 提交信息
~~~[api]
post:/feedback/save
*string:source=ios#來源
*string:name=姓名#姓名
*string:phone=15181474781#手機號
string:email=123@qq.com#郵箱地址
*string:content=問題反饋#問題反饋
*string:user_id=1123#用戶唯一id
<<<
success
{
"code": 0
}
<<<
error
{
"code": -1,
"msg": "來源必須"
}
~~~