获取售后列表
GET /app/afterSales/list| 字段 | 名称 | 类型 | 是否必须 |
| page | 分页 | int | 是 |
| pageSize | 每页数量 | int | 是 |
| status | 售后状态 | int | 否 |
| after_sale_sn | 售后订单号 | string | 否 |
| type | 退款方式 0退款 1退款退货 | int | 否 |
| start_at | 开始时间 | string | 否 |
| end_at | 结束时间 | string | 否 |
| order_id | 订单id | int | 否 |
| order_sn | 订单号 | string | 否 |
| product_title | 商品名称 | string | 否 |
| send_status | 子订单发货状态 0待发货 1部分发货 2完成 | int | 否 |
| third_order_sn | 采购端订单号 | string | 否 |
| 字段 | 名称 | 类型 |
| id | 售后id | int |
| after_sale_sn | 售后单号 | string |
| amount | 售后金额 | int |
| reason_type | 售后原因 | int |
| reason | 售后其他原因时填写 | string |
| description | 描述 | string |
| order_id | 订单id | int |
| order_item_id | 子订单id | int |
| sku_id | 规格id | int |
| product_id | 商品id | int |
| is_received | 是否收到货 | 0否1时 |
| pay_method | 打款方式 | 0原路返回 1线下支付 |
| return_order_express_id | 退货物流id | int |
| status | 售后状态 | int |
| status_name | 售后状态名称 | string |
| type | 退款方式 | 0退款1退货退款 |
| detail_images | 图片凭证 | array |
| logs | 日志 | array |
| return_order_express | 退款物流信息 | array |
| user | 用户信息 | array |
| refund_reason_name | 退款原因名字 | string |
| refund_type_name | 退款类型名称 | string |
| order | 订单信息 | array |
| order_item | 子订单信息 | array |
| after_sales_audit | 审核信息 | array |
logs
| 字段 | 名称 | 类型 |
| created_at | 时间 | string |
| admin_id | 不是0就是管理员操作 | int |
| content | 内容 | string |
| price | 售后金额 | int |
| refund_type_name | string | |
| reason_type_name | string | |
| description | int |
return_order_express
| 字段 | 名称 | 类型 |
| company_name | 物流公司名称 | string |
| company_code | 物流公司code | string |
| express_no | 快递单号 | string |
order_item
| 字段 | 名称 | 类型 |
| sku_title | 规格名称 | string |
| title | 商品名称 | string |
| product_id | 商品id | string |
| order_id | 订单id | int |
| image_url | 商品图片 | string |
| send_status | 0未发货 1已发货 2部分发货 | int |
| amount | 子订单金额 | int |
after_sales_audit
| 字段 | 名称 | 类型 |
| status | 审核状态 0待审核1通过 -1拒绝 | int |
{ "code": 0, "data": { "list": [ { "id": 30, "created_at": 1652075303, "updated_at": 1652075303, "after_sale_sn": "181728283360", "user_id": 35, "amount": 10, "practical_amount": 0, "reason_type": 1, "reason": "", "description": "不想要了", "order_id": 496, "order_item_id": 586, "sku_id": 22260, "product_id": 1028760, "shipping_address_id": 0, "is_received": 1, "pay_method": 0, "return_order_express_id": 0, "status": 0, "type": 0, "detail_images": null, "logs": [ { "created_at": "2022-05-09 13:48:23", "admin_id": 0, "content": "第1次发起了退款申请,原因快递一直未送到", "price": 10, "refund_type_name": "退款", "reason_type_name": "快递一直未送到", "description": "不想要了" } ], "return_order_express": { "id": 0, "created_at": null, "updated_at": null, "after_sales_id": 0, "company_name": "", "company_code": "", "express_no": "" }, "user": { "id": 0, "avatar": "", "username": "", "nickname": "" }, "refund_reason_name": "", "success_at": null, "status_name": "待审核", "refund_type_name": "退款", "order": { "id": 496, "order_sn": 181710271106, "application_id": 6 }, "order_item": { "id": 586, "sku_title": "测试1-2", "title": "测试商品1", "product_id": 1028760, "order_id": 496, "image_url": "http://localhost:8888/data/goSupply/uploads/file/a170e3a09c83ae743fc5a4350df15253_20220507161418.png", "send_status": 1, "amount": 10000 }, "after_sales_audit": { "id": 39, "created_at": 1652075303, "updated_at": 1652075303, "after_sales_id": 30, "admin_id": 0, "reason_type": 1, "reason": "", "status": 0, "cause": "", "status_name": "处理中", "refund_name": "快递一直未送到" } } ], "total": 6, "page": 0, "pageSize": 1, "next_url": "" }, "msg": "获取成功"}