简要描述:

请求域名:

  • http://xx.com

请求URL:

route=plugin.coupon-store.frontend.order.orderCoupon

参数:

参数名 是否必须 类型 说明
order_id int 订单ID

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": [
        {
            "id": 46,
            "coupon_sn": "CS88889B02FD143",
            "status": 0,
            "goods_id": 763,
            "offline_price": "89.00",
            "code_path": "app/public/qr/coupon-store/order_22335/06c5e699ef9b6a79c9892148e98027b8.png",
            "code_url": "http://zouye.yunzmall.com/storage/app/public/qr/coupon-store/order_22335/06c5e699ef9b6a79c9892148e98027b8.png"
        },
        {
            "id": 47,
            "coupon_sn": "CS8888993FD7912",
            "status": 0,
            "goods_id": 763,
            "offline_price": "89.00",
            "code_path": "app/public/qr/coupon-store/order_22335/d1d2fd4a2972272082a1af3314705b76.png",
            "code_url": "http://zouye.yunzmall.com/storage/app/public/qr/coupon-store/order_22335/d1d2fd4a2972272082a1af3314705b76.png"
        },
        {
            "id": 48,
            "coupon_sn": "CS888894399DE78",
            "status": 0,
            "goods_id": 763,
            "offline_price": "89.00",
            "code_path": "app/public/qr/coupon-store/order_22335/3afc5f4819fd0738232903e3a0f776d0.png",
            "code_url": "http://zouye.yunzmall.com/storage/app/public/qr/coupon-store/order_22335/3afc5f4819fd0738232903e3a0f776d0.png"
        }
    ]
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明