test.http 909 Bytes
# http://localhost:3000/device?pageIndex=2&pageSize=5

#  POST http://localhost:3000/device/add HTTP/1.1
#  content-type: application/json

#  {
#      "sn":"sn1111211212122"
#  }

# POST http://localhost:3000/device/addInfo HTTP/1.1
# content-type: application/json

# {
#     "device_id":13,
#     "mobile":"13800138000",
#     "user":"王老七",
#     "merchant_name":"老点"
# }

# http://localhost:3000/sse/event



POST http://localhost:3000/broadcast/message HTTP/1.1
 content-type: application/json

 {
      "event":"private",
      "device_id":12,
        "data":{
            "order":"logs",
            "payload":{
                "message":"log message"
            }
        }
 }
#  http://localhost:3000/config?device_id=2

# POST http://localhost:3000/config/add HTTP/1.1
# content-type: application/json

# {
#     "device_id":1,
#     "log_saved_days":8,
#     "user_fields":[1,2,3,4]
# }