简要描述:

  • 周边游-获取支付方式

请求URL:

route=plugin.travel-around.frontend.payment.payment

参数:

参数名 类型 说明
order_sn string 订单编号

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "获取数据成功",
    "data": {
        "buttons": [
            {
                "code": "balance",
                "name": "余额",
                "value": 3,
                "need_password": false,
                "weight": 1001
            }
        ],
        "credit2": "1111.00",   //余额
        "typename": "周边游订单支付",
        "order": {
            "id": 3,
            "order_id": 230966,
            "order_sn": "ZBY2212160926216183",
            "member_id": 698204,
            "status": 0,
            "order_price": "0.01",
            "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": "",
            "memo": "",
            "created_at": "2022-12-16 09:26:28",
            "updated_at": "2022-12-16 09:26:28",
            "deleted_at": null,
            "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": 3,
                "order_id": 230966,
                "goods_id": 938,
                "yz_goods_id": 1057773,
                "yz_option_id": 315662,
                "total": 1,
                "created_at": "2022-12-16 09:26:29",
                "updated_at": "2022-12-16 09:26:33",
                "deleted_at": null,
                "yz_travel_around_order_id": 3,
                "title": "糖耳朵",
                "option_img": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "option_title": "默认1",
                "option_id": 1015,
                "goods_price": "0.01",
                "goods_cost": "0.00",
                "market_price": "0.01"
            }
        }
    }
}

错误时返回:

{
	data: null
	msg: "失败"
	result: 0
}