售后列表
GET
/app/mall/api/v1/order/afterSales/list
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
pageNum
integer
页数
示例值:
1
pageSize
integer
条数
示例值:
10
aftersaleType
string
必需
示例值:
2
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://47.93.16.76:8080/app/mall/api/v1/order/afterSales/list?pageNum=1&pageSize=10&aftersaleType=2'
返回响应
🟢200成功
application/json
Body
msg
string
必需
code
integer
必需
data
array [object {14}]
必需
createTime
string
创建时间
id
integer
主键ID
aftersaleSn
string
售后编码
orderId
integer
订单ID
orderCode
string
订单编码
orderGoods
object
订单商品信息
orderGoodsId
integer
订单商品ID
aftersaleType
string
售后类型
reason
string
售后原因
returnWay
string
寄回方式
status
string
可选
exchangeProductId
null
换货ID
goodsProduct
object
换货信息
receivingStatus
string
必需
示例
{
"msg": "操作成功",
"code": 200,
"data": [
{
"createBy": null,
"createTime": "2023-12-18 14:18:11",
"updateBy": null,
"updateTime": null,
"remark": null,
"id": 7,
"aftersaleSn": "524591211869114368",
"orderId": 3,
"orderCode": "516990462293184512",
"orderGoods": {
"createBy": null,
"createTime": "2023-11-27 14:55:32",
"updateBy": null,
"updateTime": null,
"remark": null,
"id": 5,
"orderId": 3,
"goodsId": 1,
"goodsName": "母亲节礼物-舒适安睡组合",
"goodsCode": "515091408151908352",
"productId": 10,
"goodsNum": 1,
"goodsPrice": 1001,
"specifications": "[\"1.8m床垫*1+枕头*2\",\"浅杏粉\"]",
"imgUrl": "http://yanxuan.nosdn.127.net/10022c73fa7aa75c2c0d736e96cc56d5.png?quality=90&thumbnail=200x200&imageView",
"comment": -1,
"delFlag": "0",
"afterSaleStatus": "1"
},
"userId": 1,
"userAvatar": null,
"userName": null,
"orderGoodsId": 5,
"aftersaleType": "1",
"reason": "质量问题",
"amount": 1001,
"pictures": "[]",
"comment": "买小了",
"handleTime": null,
"addressId": 1,
"userAddress": {
"createBy": null,
"createTime": "2023-11-23 14:37:50",
"updateBy": null,
"updateTime": "2023-11-23 14:40:37",
"remark": null,
"id": 1,
"userName": "萧红",
"userId": 1,
"province": "1",
"city": "32",
"county": "376",
"addressDetail": "鼓楼大街1306号",
"areaCode": "110101",
"postalCode": "110100",
"telPhone": "15731231027",
"isDefault": "0",
"delFlag": "0"
},
"returnWay": "上门取件",
"shipSn": null,
"shipChannel": null,
"shipTime": null,
"status": "0",
"exchangeProductId": null,
"goodsProduct": null,
"delFlag": "0"
}
]
}
修改于 2023-12-18 09:12:09