说明

设备列表

请求地址

环境 请求地址
测试环境 https://m.umxnt.com/api/device/print/lists
正式环境

请求参数

参数 类型 是否必填 最大长度 描述
token string 令牌
store_id string 门店id
type string 类型,打印设备:yilianyun扫码盒子:inspiry
status string 状态,默认开启,开启-1,关闭-2

正确成功返回

{
  "status": 1,
  "data": [
    {
      "id": 1,
      "config_id": "123",
      "store_id": "2017101317522231213",
      "merchant_id": "",
      "type": "yilianyun",
      "print_name": "易联云",
      "print_key": "12313",
      "print_a": "123213",
      "print_b": "123123",
      "print_c": "123123",
      "status": 1,
      "created_at": "2017-11-05 17:08:11",
      "updated_at": "2017-11-05 17:08:11"
    },
    {
      "id": 2,
      "config_id": "123",
      "store_id": "2017101317522231213",
      "merchant_id": "",
      "type": "yilianyun",
      "print_name": "易联云",
      "print_key": "1231332",
      "print_a": "1232133",
      "print_b": "1231232",
      "print_c": "12312313",
      "status": 1,
      "created_at": "2017-11-05 17:08:36",
      "updated_at": "2017-11-05 17:08:36"
    }
  ]
}

成功请求示例:

参数 类型 是否必填 最大长度 描述
type string 类型 yilianyun(易联云)
print_name string 设备名称
print_key string 秘钥
print_a string 参数1
print_b string 参数2
print_c string 参数3
status string 状态
  • 失败请求示例

    {
        "msg":"无效参数",
        "status":0
    }
    

results matching ""

    No results matching ""