230 lines
6.7 KiB
Markdown
230 lines
6.7 KiB
Markdown
# Method
|
|
|
|
Feedback-建议反馈模块
|
|
|
|
- [/feedback.Method/List](#feedbackmethodlist)
|
|
- [/feedback.Method/Get](#feedbackmethodget)
|
|
- [/feedback.Method/Add](#feedbackmethodadd)
|
|
- [/feedback.Method/Modify](#feedbackmethodmodify)
|
|
- [/feedback.Method/Delete](#feedbackmethoddelete)
|
|
- [/feedback.Method/Remark](#feedbackmethodremark)
|
|
|
|
## /feedback.Method/List
|
|
|
|
|
|
|
|
### Request
|
|
```javascript
|
|
{
|
|
page: "0", // type<int64>, 页码,默认第一页
|
|
size: "0", // type<int64>, 单页显示数量,默认10,最多50
|
|
user_identity: "", // type<string>, 用户唯一`标识,可选
|
|
user_name: "", // type<string>, 用户名称,可选
|
|
status: 0, // type<int32>, 条目状态,可选,默认0,全部查找
|
|
category: "", // type<string>, 业务类型: 1,意见/2,反馈/3,申述等,默认0 调用方传
|
|
email: "", // type<string>, 邮箱
|
|
phone: "", // type<string>, 手机号码
|
|
store_identity: "", // type<string>, 店铺标识
|
|
agency: "", // type<string>, 代理
|
|
}
|
|
```
|
|
|
|
### Reply
|
|
```javascript
|
|
{
|
|
count: "0", // type<int64>
|
|
list: [{
|
|
identity: "", // type<string>
|
|
user_identity: "", // type<string>, 用户唯一标识
|
|
user_name: "", // type<string>, 用户名称
|
|
status: 0, // type<int32>, 状态,1未处理,2已处理,也可以调用方自行设置,如果未设置则默认是1
|
|
created_at: "", // type<string>, 创建时间
|
|
updated_at: "", // type<string>, 更新时间
|
|
title: "", // type<string>, 标题
|
|
content: "", // type<string>, 内容
|
|
images: [{
|
|
identity: "", // type<string>
|
|
item_identity: "", // type<string>
|
|
url: "", // type<string>
|
|
}], // list<FeedbackImage>, 图片
|
|
remark: "", // type<string>, 反馈信息
|
|
category: "", // type<string>, 类型: 1:pre_sales 2:after_sales
|
|
accessories: [{
|
|
identity: "", // type<string>
|
|
item_identity: "", // type<string>
|
|
title: "", // type<string>, 附件标题
|
|
file_path: "", // type<string>, 附件地址
|
|
}], // list<FeedbackAccessory>
|
|
email: "", // type<string>, 邮箱
|
|
phone: "", // type<string>, 手机号码
|
|
store_identity: "", // type<string>, 店铺标识
|
|
agency: "", // type<string>, 代理
|
|
}], // list<FeedbackItem>
|
|
}
|
|
```
|
|
## /feedback.Method/Get
|
|
|
|
|
|
|
|
### Request
|
|
```javascript
|
|
{
|
|
identity: "", // type<string>
|
|
}
|
|
```
|
|
|
|
### Reply
|
|
```javascript
|
|
{
|
|
record: {
|
|
identity: "", // type<string>
|
|
user_identity: "", // type<string>, 用户唯一标识
|
|
user_name: "", // type<string>, 用户名称
|
|
status: 0, // type<int32>, 状态,1未处理,2已处理,也可以调用方自行设置,如果未设置则默认是1
|
|
created_at: "", // type<string>, 创建时间
|
|
updated_at: "", // type<string>, 更新时间
|
|
title: "", // type<string>, 标题
|
|
content: "", // type<string>, 内容
|
|
images: [{
|
|
identity: "", // type<string>
|
|
item_identity: "", // type<string>
|
|
url: "", // type<string>
|
|
}], // list<FeedbackImage>, 图片
|
|
remark: "", // type<string>, 反馈信息
|
|
category: "", // type<string>, 类型: 1:pre_sales 2:after_sales
|
|
accessories: [{
|
|
identity: "", // type<string>
|
|
item_identity: "", // type<string>
|
|
title: "", // type<string>, 附件标题
|
|
file_path: "", // type<string>, 附件地址
|
|
}], // list<FeedbackAccessory>
|
|
email: "", // type<string>, 邮箱
|
|
phone: "", // type<string>, 手机号码
|
|
store_identity: "", // type<string>, 店铺标识
|
|
agency: "", // type<string>, 代理
|
|
}, // type<FeedbackItem>
|
|
exists: false, // type<bool>
|
|
}
|
|
```
|
|
## /feedback.Method/Add
|
|
|
|
|
|
|
|
### Request
|
|
```javascript
|
|
{
|
|
user_identity: "", // type<string>, 用户唯一标识
|
|
user_name: "", // type<string>, 用户名称
|
|
status: 0, // type<int32>, 状态,1未处理,2已处理,也可以调用方自行设置,如果未设置则默认是1
|
|
title: "", // type<string>, 标题
|
|
content: "", // type<string>, 内容
|
|
images: [{
|
|
identity: "", // type<string>
|
|
item_identity: "", // type<string>
|
|
url: "", // type<string>
|
|
}], // list<FeedbackImage>, 图片
|
|
category: "", // type<string>, 类型: 1:pre_sales 2:after_sales
|
|
accessories: [{
|
|
identity: "", // type<string>
|
|
item_identity: "", // type<string>
|
|
title: "", // type<string>, 附件标题
|
|
file_path: "", // type<string>, 附件地址
|
|
}], // list<FeedbackAccessory>, 附件
|
|
email: "", // type<string>, 邮箱
|
|
phone: "", // type<string>, 手机号码
|
|
store_identity: "", // type<string>, 店铺标识
|
|
agency: "", // type<string>, 代理
|
|
}
|
|
```
|
|
|
|
### Reply
|
|
```javascript
|
|
{
|
|
identity: "", // type<string>
|
|
}
|
|
```
|
|
## /feedback.Method/Modify
|
|
|
|
|
|
|
|
### Request
|
|
```javascript
|
|
{
|
|
identity: "", // type<string>
|
|
user_identity: "", // type<string>, 用户唯一标识
|
|
user_name: "", // type<string>, 用户名称
|
|
status: 0, // type<int32>, 状态,1未处理,2已处理,也可以调用方自行设置,如果未设置则默认是1
|
|
title: "", // type<string>, 标题
|
|
content: "", // type<string>, 内容
|
|
images: [{
|
|
identity: "", // type<string>
|
|
item_identity: "", // type<string>
|
|
url: "", // type<string>
|
|
}], // list<FeedbackImage>, 图片
|
|
category: "", // type<string>, 类型: 1:pre_sales 2:after_sales
|
|
accessories: [{
|
|
identity: "", // type<string>
|
|
item_identity: "", // type<string>
|
|
title: "", // type<string>, 附件标题
|
|
file_path: "", // type<string>, 附件地址
|
|
}], // list<FeedbackAccessory>, 附件
|
|
email: "", // type<string>, 邮箱
|
|
phone: "", // type<string>, 手机号码
|
|
store_identity: "", // type<string>, 店铺标识
|
|
agency: "", // type<string>, 代理
|
|
}
|
|
```
|
|
|
|
### Reply
|
|
```javascript
|
|
{
|
|
code: 0, // type<int32>, 状态码
|
|
message: "", // type<string>, 状态说明
|
|
details: "", // type<string>, 数据
|
|
timeseq: "0", // type<int64>, 响应时间序列
|
|
}
|
|
```
|
|
## /feedback.Method/Delete
|
|
|
|
|
|
|
|
### Request
|
|
```javascript
|
|
{
|
|
identity: "", // type<string>
|
|
}
|
|
```
|
|
|
|
### Reply
|
|
```javascript
|
|
{
|
|
code: 0, // type<int32>, 状态码
|
|
message: "", // type<string>, 状态说明
|
|
details: "", // type<string>, 数据
|
|
timeseq: "0", // type<int64>, 响应时间序列
|
|
}
|
|
```
|
|
## /feedback.Method/Remark
|
|
|
|
|
|
|
|
### Request
|
|
```javascript
|
|
{
|
|
identity: "", // type<string>
|
|
remark: "", // type<string>
|
|
status: 0, // type<int32>
|
|
}
|
|
```
|
|
|
|
### Reply
|
|
```javascript
|
|
{
|
|
code: 0, // type<int32>, 状态码
|
|
message: "", // type<string>, 状态说明
|
|
details: "", // type<string>, 数据
|
|
timeseq: "0", // type<int64>, 响应时间序列
|
|
}
|
|
```
|
|
|