简要描述:

会员卡赠送记录

请求域名:

  • http://xx.com

请求路由:

route=plugin.water-machine.frontend.consumer.member-card.gift

返回示例:

正确时返回:

{
  "result": 1,
  "msg": "ok",
  "data": {
    "current_page": 1,
    "data": [
      {
        "id": 2,
        "card_no": "60110013800",
        "order_sn": "SN23022814472D824E",
        "amount": "10.00",
        "balance": "56.90",
        "recharge_at": "2023-02-28 18:00:49"
      },
      {
        "id": 6,
        "card_no": "60110013800",
        "order_sn": "SN23022814472D824E",
        "amount": "2.00",
        "balance": "58.90",
        "recharge_at": "2023-02-28 18:16:08"
      }
    ],
    "first_page_url": "http://localhost/addons/yun_shop/api.php?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "http://localhost/addons/yun_shop/api.php?page=1",
    "next_page_url": null,
    "path": "http://localhost/addons/yun_shop/api.php",
    "per_page": 15,
    "prev_page_url": null,
    "to": 2,
    "total": 2
  }
}


返回参数说明:

参数名 类型 说明
data.card_no string 会员卡号
data.order_sn string 订单号
data.amount string 充值金额
data.balance string 卡余额
data.created_at string 时间