简要描述:

会员卡号信息

请求域名:

  • http://xx.com

请求路由:

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

返回示例:

正确时返回:

{
  "result": 1,
  "msg": "ok",
  "data": {
    "member": {
      "id": 3,
      "uniacid": 1,
      "member_id": 11,
      "card_id": 3,
      "created_at": "2023-03-01 15:10:36",
      "updated_at": "2023-03-01 15:10:36",
      "card": {
        "id": 3,
        "uniacid": 1,
        "merchant_id": 6,
        "card_no": "60110013800",
        "device_no": null,
        "balance": "42.77",
        "created_at": "2023-03-01 15:10:36",
        "updated_at": "2023-03-02 14:25:55",
        "type": "entity",
        "owner": "15914179853"
      }
    },
    "course_h5_url": "http://localhost/admin/shop?route=plugin.water-machine.backend.basic.index",
    "course_mini_url": "/page/waterMachine/index",
    "device_no": ""
  }
}

返回参数说明:

参数名 类型 说明
data.member.member_id int 会员ID
data.member.card_id int 会员卡ID
data.member.card.card_no string 会员卡号
data.member.card.balance string 余额
data.member.card.created_at string 创建时间
data.device_no string 扫码设备编号
data.course_h5_url string 教程h5链接
data.course_mini_url string 小程序h5链接