**简要描述**
- 待发货状态下,申请退款界面显示
**请求URL:**
- ` index/Order/orderRefundShow `
**参数:**
|参数名|必选|类型|说明|
|:---- |:---|:----- |----- |
|token | 是 | string | 用户token |
|order_sn | 是 | string | 订单号 |
**返回示例**
```
{
"code": 1,
"msg": "请求成功",
"data": {
"order": {
"id": 4,
"order_sn": "NO202004096402241942541",
"pay_price": "8600.00",
"order_goods": [
{
"id": 35,
"order_sn": "NO202004096402241942541",
"product_id": 1,
"goods_title": "小米101",
"goods_img": "/uploads/20200401/d718cc8ffbf6d75e306960956e5fc22e.jpg",
"goods_price": "2500.00",
"num": 2,
"attr_id": 443,
"attr_name": "l,白色"
},
{
"id": 36,
"order_sn": "NO202004096402241942541",
"product_id": 2,
"goods_title": "【华为老用户场】HUAWEI P40 Pro 5G 全网通 ",
"goods_img": "/uploads/20200401/9625a96e9a5a82625ff048628bd5cb3a.png",
"goods_price": "3600.00",
"num": 1,
"attr_id": 413,
"attr_name": "8+128g,水母黄,4摄"
}
]
},
"reason": [
"收货地址填错了",
"与描述不符",
"不想要了",
"其他时间"
]
}
}
```
**data返回值说明**
|参数|类型|描述|
|:-------|:-------|:-------|
| - order |object | 订单信息 |
| id | number| 订单id |
| order_sn | string| 订单号 |
| pay_price | string| 订单金额 |
| - - order_goods |object | 订单商品信息 |
| id | number| 订单商品id |
| order_sn | string| 单号 |
| product_id | number| 商品id |
| goods_title | string| 商品名称 |
| goods_img | string| 商品图片 |
| goods_price | string| 商品单价 |
| num | number| 商品数量 |
| attr_id | number| 商品属性id |
| attr_name | string| 商品属性值 |
| - reason |object | 退款理由,是一个一维数组 |
- 文档说明
- 商城部分
- 商城首页(Index/index)
- 商品分类(Goods/cate)
- 商品列表(Goods/goodsList)
- 商品详情(Goods/goodsDetail)
- 商品属性获取(Goods/goodsAttr)
- 收藏/取消收藏(Goods/goodsCollect)
- 加购物车(Goods/cartAdd)
- 立即购买(Goods/buyNow)
- 优惠券列表(Index/coupon)
- 领取优惠券(Index/couponGet)
- 文章列表(Index/articleList)
- 文章详情(Index/articleSee)
- 签到页面(Index/signPageShow)
- 用户签到(Index/signIn)
- 签到记录(Index/signRecord)
- 文章分类(Index/articleCate)
- 商品评价列表(Goods/goodsComment)
- 登录部分
- 获取验证码(Login/getCode)
- 用户注册(Login/reg)
- 用户登录(Login/login)
- 找回密码(Login/resetPass)
- 用户协议(Login/agreement)
- 个人中心
- 个人首页(User/index)
- 修改密码(User/passReset)
- 修改头像昵称(User/userEdit)
- 地址列表(User/addressList)
- 地址操作(User/addressOperate)
- 收藏列表(User/collectList)
- 优惠券列表(User/userCoupon)
- 余额页面(User/balancePage)
- 余额充值(User/balanceRecharge)
- 账单列表(User/billList)
- 积分页面(User/integralPage)
- 购物车部分
- 购物车列表(Cart/lists)
- 修改购物车商品数量(Cart/setNumber)
- 删除购物车商品(Cart/del)
- 清空失效商品(Cart/unEffectiveDel)
- 订单部分
- 订单商品信息界面(Order/orderShow)
- 获取订单可用优惠券(Order/orderAvaCoupon)
- 提交订单(Order/orderSub)
- 余额支付(Order/balancePay)
- 微信支付(Order/wxPay)
- 订单列表(Order/OrderList)
- 订单详情(Order/orderDetail)
- 取消订单(Order/orderCancel)
- 申请退款界面(Order/orderRefundShow)
- 提交退款申请(Order/refundApply)
- 查看物流(Order/orderLogistics)
- 确认收货(Order/confirmReceipt)
- 评价订单(Order/orderComment)
- 删除订单(Order/orderDel)
- 其他
- 上传图片(Upload/img)
- 获取推荐商品(Goods/getRecGoods)