售后详情
GET
/app/mall/api/v1/order/afterSales/info
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
orderId
integer
订单ID
示例值:
1
orderGoodsId
integer
订单商品ID
示例代码
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/info?orderId=1&orderGoodsId'
返回响应
🟢200成功
application/json
Body
msg
string
必需
code
integer
必需
data
object
必需
orderGoods
array [object {11}]
订单商品
orderInfo
object
订单信息
aftersale
array [object {24}]
售后信息
示例
{
"msg": "操作成功",
"code": 200,
"data": {
"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"
}
],
"orderInfo": {
"createBy": null,
"createTime": "2023-11-27 14:55:32",
"updateBy": null,
"updateTime": null,
"remark": null,
"id": 3,
"userId": 1,
"userName": null,
"userAvatar": null,
"orderCode": "516990462293184512",
"orderStatus": "2",
"aftersaleStatus": "1",
"consignee": "萧红",
"mobile": "15731231027",
"address": "132376鼓楼大街1306号",
"message": "请优先配送!!!",
"goodsPrice": 1001,
"freightPrice": 0,
"couponId": null,
"couponPrice": 0,
"integralPrice": 0,
"orderPrice": 1001,
"actualPrice": 1001,
"payType": "1",
"payCode": null,
"payTime": null,
"payResidueTime": "2023-11-27 15:10:32",
"shipSn": null,
"shipChannel": null,
"shipTime": null,
"refundAmount": null,
"refundType": null,
"refundContent": null,
"refundTime": null,
"confirmTime": null,
"comments": 0,
"endTime": null,
"delFlag": "0",
"orderGoodsList": null
},
"aftersale": [
{
"createBy": null,
"createTime": "2023-12-12 14:09:36",
"updateBy": null,
"updateTime": null,
"remark": null,
"id": 2,
"aftersaleSn": "522414723845591040",
"orderId": 3,
"orderCode": "516990462293184512",
"userId": 1,
"userAvatar": null,
"userName": null,
"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-19 01:18:57