简要描述:
- 周边游--获取售后方式与订单信息
请求URL:
route=plugin.travel-around.frontend.refund.refund&order_id=231203
参数:
参数名 | 类型 | 说明 |
---|---|---|
order_id | string | 下单时返回的id,获取支付方式时返回的id均可 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"refundTypes": [
{
"name": "退款(仅退款不退货)",
"value": 0,
"desc": "未收到货或者不用退货只退款",
"icon": "icon-fontclass-daizhifu",
"reasons": {
"not_received": [
"拍错/多拍/不想要",
"货物破损",
"快递送货问题",
"差价",
"其他原因"
],
"received": [
"货物破损",
"少件、漏发",
"差价",
"商品质量问题",
"其他原因"
]
}
}
],
"order": {
"id": 45,
"order_id": 231203,
"order_sn": "ZBY2212091411CD8CB6",
"member_id": 698204,
"status": 0,
"order_price": "70.00",
"third_order_sn": null,
"channel_order_id": null,
"quantity": null,
"code_amount": null,
"city": "北京站",
"bookingShowAddress": 0,
"orderShowIdCard": 0,
"orderShowDate": 0,
"idCard": "",
"customerName": "客户名称",
"customerPhoneNumber": "18249104358",
"address": "",
"created_at": "2022-12-09 14:11:25",
"updated_at": "2022-12-09 14:11:25",
"deleted_at": null,
"memo": "",
"pay_type": 0,
"order_address":"\"{\\\"id\\\":358,\\\"uniacid\\\":5,\\\"uid\\\":1170,\\\"username\\\":\\\"3213\\\",\\\"mobile\\\":\\\"18249104358\\\",\\\"zipcode\\\":\\\"\\\",\\\"province\\\":\\\"\北\京\\\",\\\"city\\\":\\\"\北\京\市\\\",\\\"district\\\":\\\"\朝\阳\区\\\",\\\"street\\\":\\\"\\\",\\\"address\\\":\\\"\双\井\富\力\城\小\区\三\期10-08\号\\\",\\\"isdefault\\\":1,\\\"longitude\\\":\\\"\\\",\\\"latitude\\\":\\\"\\\"}\"",
"pay_type_name": "未支付",
"has_one_travel_around_order_goods": {
"id": 47,
"order_id": 231203,
"goods_id": 3884,
"yz_goods_id": 1057773,
"yz_option_id": 315661,
"total": 2,
"created_at": "2022-12-09 14:11:25",
"updated_at": "2022-12-09 14:11:25",
"deleted_at": null,
"yz_travel_around_order_id": 45,
"title": "糖耳朵",
"option_img": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
"option_title": "默认0",
"option_id": 4637,
"goods_price": "35.00",
"goods_cost": "20.00",
"market_price": "35.00"
}
}
}
}
错误时返回:
{
data: null
msg: "失败"
result: 0
}