簡(jiǎn)要描述
請(qǐng)求url
https://www.商城域名.com/index.php?s=/api/refund/list
請(qǐng)求方式
是否需授權(quán)登錄
請(qǐng)求header
參數(shù)名 |
類型 |
是否必須 |
示例值 |
說(shuō)明 |
storeId |
int |
必填 |
10001 |
商城ID |
platform |
string |
必填 |
H5 |
當(dāng)前請(qǐng)求的客戶端(APP、小程序、H5等) |
Access-Token |
string |
選填 |
- |
當(dāng)前登錄用戶的 Token |
請(qǐng)求參數(shù)
參數(shù)名 |
類型 |
是否必須 |
示例值 |
說(shuō)明 |
state |
int |
必填 |
- |
售后單狀態(tài) (-1全部 0進(jìn)行中 10已拒絕 20已完成 30已取消) |
page |
int |
選填 |
1 |
當(dāng)前頁(yè)碼 |
返回示例
{
"status": 200,
"message": "success",
"data": {
"list": {
"total": 2,
"per_page": 15,
"current_page": 1,
"last_page": 1,
"data": [
{
"order_refund_id": 6,
"order_id": 10195,
"order_goods_id": 10192,
"user_id": 10125,
"type": 10,
"apply_desc": "",
"audit_status": 10,
"refuse_desc": "",
"refund_money": "0.00",
"is_user_send": 1,
"send_time": "2022-01-19 10:31:09",
"express_id": "10002",
"express_no": "12124141241",
"is_receipt": 0,
"status": 0,
"create_time": "2022-01-19 10:30:00",
"orderGoods": {},
"state_text": "已發(fā)貨,待平臺(tái)確認(rèn)"
},
{
"order_refund_id": 5,
"order_id": 10192,
"order_goods_id": 10188,
"user_id": 10125,
"type": 10,
"apply_desc": "123123",
"audit_status": 0,
"refuse_desc": "",
"refund_money": "0.00",
"is_user_send": 0,
"send_time": "",
"express_id": "",
"express_no": "",
"is_receipt": 0,
"status": 0,
"create_time": "2022-01-14 00:40:45",
"orderGoods": {
"order_goods_id": 10188,
"goods_id": 10018,
"goods_name": "簡(jiǎn)約風(fēng)條紋客廳沙發(fā)臥室床頭抱枕靠墊套",
"image_id": 10389,
"deduct_stock_type": 10,
"spec_type": 10,
"goods_sku_id": "0",
"goods_props": null,
"goods_no": "",
"goods_price": "0.01",
"line_price": "129.00",
"goods_weight": 0.8,
"is_user_grade": 0,
"grade_ratio": 0,
"grade_goods_price": "0.00",
"grade_total_money": "0.00",
"coupon_money": "0.00",
"points_money": "0.00",
"points_num": 0,
"points_bonus": 0,
"total_num": 1,
"total_price": "12.90",
"total_pay_price": "12.90",
"delivery_status": 10,
"delivery_num": 0,
"is_comment": 0,
"order_id": 10192,
"user_id": 10125,
"goods_source_id": 10028,
"goods_image": "41cdb778199f99ebebb6090680f382fc.png"
},
"state_text": "等待審核中"
}
]
}
}
}
返回參數(shù)
參數(shù)名 |
類型 |
示例值 |
說(shuō)明 |
status |
int |
200 |
請(qǐng)求狀態(tài)(200:請(qǐng)求成功;500:請(qǐng)求錯(cuò)誤/失敗) |
message |
string |
success |
請(qǐng)求結(jié)果的信息,默認(rèn)為 success |
data |
object |
- |
返回的業(yè)務(wù)數(shù)據(jù) |
data 參數(shù)
參數(shù)名 |
類型 |
示例值 |
說(shuō)明 |
list |
object |
- |
列表數(shù)據(jù) |
data.list 參數(shù)
參數(shù)名 |
類型 |
示例值 |
說(shuō)明 |
total |
int |
2 |
總記錄數(shù) |
per_page |
int |
15 |
每頁(yè)數(shù)量 |
current_page |
int |
1 |
當(dāng)前頁(yè)碼 |
last_page |
int |
1 |
最后頁(yè)碼 |
data |
array |
- |
列表數(shù)組 |
data.list.data 參數(shù)
參數(shù)名 |
類型 |
示例值 |
說(shuō)明 |
order_refund_id |
int |
6 |
售后單ID |
order_id |
int |
10195 |
訂單ID |
order_goods_id |
int |
10192 |
訂單商品ID |
user_id |
int |
10125 |
用戶ID |
type |
int |
10 |
售后類型 (10退貨退款 20換貨) |
apply_desc |
string |
- |
用戶申請(qǐng)?jiān)?說(shuō)明) |
audit_status |
int |
10 |
商家審核狀態(tài) (0待審核 10已同意 20已拒絕) |
refuse_desc |
string |
- |
商家拒絕原因(說(shuō)明) |
refund_money |
string |
0.00 |
實(shí)際退款金額 |
is_user_send |
int |
1 |
用戶是否發(fā)貨 (0未發(fā)貨 1已發(fā)貨) |
send_time |
string |
2022-01-19 10:31:09 |
用戶發(fā)貨時(shí)間 |
express_id |
string |
10002 |
用戶發(fā)貨物流公司ID |
express_no |
string |
12124141241 |
用戶發(fā)貨物流單號(hào) |
is_receipt |
int |
- |
商家收貨狀態(tài) (0未收貨 1已收貨) |
status |
int |
- |
售后單狀態(tài) (0進(jìn)行中 10已拒絕 20已完成 30已取消) |
create_time |
string |
2022-01-19 10:30:00 |
創(chuàng)建時(shí)間 |
orderGoods |
object |
- |
售后單商品信息 |
state_text |
string |
已發(fā)貨,待平臺(tái)確認(rèn) |
售后單狀態(tài) (文字) |