用户工具

站点工具


侧边栏

意见反馈

意见反馈接口


1、获取反馈列表

接口名称

/feedback/get Feedback

请求方式

post

请求参数

参数名称 参数类型 是否必填 说明
type_id int 类型id(1:使用咨询,2:投诉,3:意见建议,4:功能建议,5:购买遇到问题,6性能问题,7:其他)

返回值

名称 类型 说明
ret int 获取数据状态 1:成功 0:失败
retData josn 快递信息列表
{" id":"1",//意见id
" type ":" 1",//意见类型id(1:使用咨询,2:投诉,3:意见建议,4:功能建议,5:购买遇到问题,6性能问题,7:其他)
" title ":"哈哈",//意见标题
" author ":"1",//联系人
" email ":"494475223@qq.com",//邮箱
" content":"哈哈哈",//内容
" createtime":"2015-9-18 :9:00:00",//添加时间
" content":"哈哈哈",//内容
" status":"",//意见状态 0锁定 1正常
" site_id":"1",//意见所属网站id
" pic":"http://pic.8dage.net/data/uploadfile/images/4/20160303/e6464f2a47.jpg",//意见图片
}
code int 错误代码

2、通过意见id获取意见信息

接口名称

/feedback/getFeedbackById

请求方式

post

请求参数

参数名称 参数类型 是否必填 说明
feedback_id int意见id

返回值

名称 类型 说明
ret int 获取数据状态 1:成功 0:失败
retData josn 快递信息列表
{" id":"1",//意见id
" type ":" 1",//意见类型id(1:使用咨询,2:投诉,3:意见建议,4:功能建议,5:购买遇到问题,6性能问题,7:其他)
" title ":"哈哈",//意见标题
" author ":"1",//联系人
" email ":"494475223@qq.com",//邮箱
" content":"哈哈哈",//内容
" createtime":"2015-9-18 :9:00:00",//添加时间
" content":"哈哈哈",//内容
" status":"",//意见状态 0锁定 1正常
" site_id":"1",//意见所属网站id
" pic":"http://pic.8dage.net/data/uploadfile/images/4/20160303/e6464f2a47.jpg",//意见图片
}
retMsgstring错误信息
code int 错误代码

3、添加意见

接口名称

/feedback /addFeedback

请求方式

post

请求参数

参数名称 参数类型 是否必填 说明
uidint用户id(游客为0)
type int 类型id(1:使用咨询,2:投诉,3:意见建议,4:功能建议,5:购买遇到问题,6性能问题,7:其他)
title string 标题
author string 联系人
email string邮箱
content string 内容
pic string 图片

返回值

名称 类型 说明
ret int 获取数据状态 1:成功 0:失败
retMsgstring错误信息
code int 错误代码
意见反馈.txt · 最后更改: 2017/06/01 13:59 (外部编辑)