简要描述:

  • 酒柜设备管理

请求域名:

  • http://xx.com

请求URL:

plugin.gradevin.frontend.owner.device.index

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
  "result": 1,
  "msg": "ok",
  "data": {
    "current_page": 1,
    "data": [
      {
        "id": 1,
        "uniacid": 1,
        "device_no": "ABC239239239",
        "app_key": "kdfjakfdjsafk1233223",
        "name": "设备1",
        "member_id": 1,
        "province_id": 110000,
        "city_id": 110100,
        "district_id": 110102,
        "street_id": 110102001,
        "address": "北京北京市西城区西长安街街道",
        "lng": "113.275995",
        "lat": "23.117055",
        "capital_limit": 100,
        "capital_before": 5,
        "capital_after": 10,
        "created_at": "2023-11-28 23:02:23",
        "updated_at": "2023-11-28 23:02:23"
      }
    ],
    "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": 1,
    "total": 1
  }
}

返回参数说明:

参数名 类型 说明
data.id int 设备id
data.name string 设备名称
data.device_no string 设备编号
data.address string 设备地址

备注:

  • 更多返回错误代码请看首页的错误代码描述