====== 意见反馈接口 ====== ------ ===== 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",//意见图片 } | |retMsg|string|错误信息| |code |int |错误代码| ===== 3、添加意见 ===== === 接口名称 === /feedback /addFeedback === 请求方式 === post === 请求参数 === ^ 参数名称 ^ 参数类型 ^ 是否必填 ^ 说明 ^ |uid|int|否|用户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:失败| |retMsg|string|错误信息| |code |int |错误代码|