简要描述:

会员关联手机卡列表

请求域名:

  • http://xx.com

请求路由:

route=plugin.phone-bill-recharge.frontend.member-phone.index

返回示例:

正确时返回:

{
  "result": 1,
  "msg": "ok",
  "data": {
    "records": {
      "current_page": 1,
      "data": [
        {
          "id": 4,
          "uniacid": 1,
          "member_id": 3,
          "product_id": "159",
          "mobile": "17620808943",
          "type": 1,
          "created_at": "2023-06-26 23:41:09",
          "updated_at": "2023-06-26 23:41:09",
          "is_bind": 1,
          "card_package": {
            "id": 1,
            "product_name": "套餐159",
            "product_id": "159"
          }
        },
        {
          "id": 5,
          "uniacid": 1,
          "member_id": 3,
          "product_id": null,
          "mobile": "17620803847",
          "type": 2,
          "created_at": "2023-07-04 20:31:31",
          "updated_at": "2023-07-04 20:31:31",
          "is_bind": 0,
          "card_package": null
        }
      ],
      "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
    },
    "recharge_url": "http://localhost:8081/addons/yun_shop/?menu#/member/info?i=1&type=5&shop_id&mid=11"
  }
}


返回参数说明:

参数名 类型 说明
records.member_id string 会员id
records.product_id string 套餐id
records.type string 1 = 手机开卡(不可以删除开卡手机号), 2=前端直接绑定手机号(可以删除)
records.mobile string 手机号
records.is_bind string 是否绑定
records.card_package.product_id string 套餐id
records.card_package.product_name string 套餐名称
recharge_url string 充值跳转