投诉原因列表
<p>废弃 !!!!!!!!!!!
<strong>简要描述:</strong>
1.所有接口都采用POST方式(包括查询接口)
2.请求和响应的数据都为JSON格式。注:请设置Header的Content-Type为application/json
3.采用UTF-8字符编码
4.所有请求都是raw方式使用的是纯字符串的数据上传方式,非Form-data的方式
5.签名算法
第一步:将参与签名的参数按照键值(key)进行字典排序(ascii表顺序)
第二步:将排序过后的参数,进行key和value字符串拼接
第三步:对签名字符串进行MD5加密,生成32位的字符串
第四步:将签名生成的32位字符串转换为大写</p>
<p>6.订单投诉需要选择投诉原因,这个接口就是返回所有可选的投诉原因</p>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>https://order.toozan.cc/logistics/public/api/order/complaintReason</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>POST
<strong>请求参数说明:</strong>
|参数名 |必选|类型 |说明|
|origin_id |是 |string | 你方平台订单号
|fromplatform |是 |string | 小程序码
|token |是 |string | token
|sign |是 |string | 签名
<strong>示例代码:</strong>
{
"origin_id": "124632328463092732",
"fromplatform": "XCX152404085472",
"token": "S!Ud=dYYsh!vLBwn(^@v#jD)Ima4RS(6",
"sign": "02D8C1286742B2EE8A8B06C5CE6E46C0"
}</p>
<p><strong>返回参数说明</strong></p>
</li>
</ul>
<p>|参数名|类型|说明|</p>
<p>|msg |string |成功或错误消息 |
|code |int |0错误 1成功 |
|result |int |查询接口返回的数据 |</p>
<p><strong>返回成功实例</strong>
{
"msg": "成功",
"code": 1,
"result": [
{
"reason": "达达态度恶劣",
"id": 1
},
{
"reason": "接单后未取货",
"id": 2
},
{
"reason": "取货速度太慢",
"id": 3
},
{
"reason": "送货速度太慢",
"id": 4
},
{
"reason": "货品未送达",
"id": 5
},
{
"reason": "货品损坏",
"id": 6
},
{
"reason": "违规收取顾客小费",
"id": 7
},
{
"reason": "达达衣冠不整",
"id": 11
},
{
"reason": "达达恶意取消订单",
"id": 69
},
{
"reason": "达达提前点击取货/送达",
"id": 71
},
{
"reason": "达达无标准保温箱",
"id": 214
},
{
"reason": "无法联系上骑士",
"id": 251
},
{
"reason": "没有冰袋",
"id": 40002
},
{
"reason": "虚假发起妥投失败",
"id": 40004
},
{
"reason": "骑士肇事逃逸",
"id": 50209
},
{
"reason": "骑士偷窃物品",
"id": 50210
}
]
}
<strong>返回失败实例</strong>
{
"msg": "该物流公司暂不支持投诉",
"code": 0,
"result": [
]
}</p>