ITPub博客

首页 > 应用开发 > Go语言 > 智能手环guard日志获取-兔盯云

智能手环guard日志获取-兔盯云

原创 Go语言 作者:兔盯123456 时间:2022-05-27 10:39:38 0 删除 编辑

获取guard日志列表(tsp.guardlogs.get)

服务地址

GET

业务描述

根据时间,事件ID等参数查询guard日志列表

请求参数

除公共参数外,还包括以下业务参数:

返回参数

请求实例

Plain Text

curl

-X GET

-G

-H "token:eyJhbGciOiJIUzI1Ni..."

-d "page=1"

-d "limit=10"

-d "start_time=2021-01-01 13:00:00"

-d "end_time=2021-04-21 13:00:00"

-d "event_id=c1vshd5294c3q6lkvb9g"

{

"status": 0,

"message": "操作成功",

"data": {

"result": [

{

"created": "2021-04-21 14:39:48",

"error": "",

"event_id": "c1vshd5294c3q6lkvb9g",

"message": "{\"active_time\":\"2021-04-21 14:39:48\",\"attences\":null,\"blood\":{\"min\":0,\"max\":0,\"created\":\"\"},\"bts\":{\"mcc\":0,\"mnc\":0,\"lac\":0,\"cellid\":0,\"signal\":0},\"event_id\":\"c1vshd5294c3q6lkvb9g\",\"gps\":{\"lat\":0,\"lng\":0,\"speed\":0,\"height\":0,\"direction\":0,\"locate_time\":\"\"},\"gsm_rate\":\"\",\"heart\":{\"heart_rate\":0,\"created\":\"2021-04-21 14:39:48\"},\"imei\":\"689464703059036\",\"is_online\":\"1\",\"is_sos\":\"\",\"message\":\"[ZJ*689464703059036*017d*000a*TEMP,27.72]\",\"nearbts\":null,\"power_rate\":\"\",\"power_status\":\"\",\"run_status\":\"\",\"sleep\":{\"start_time\":\"\",\"end_time\":\"\",\"sleep_time\":0,\"sleep_type\":0},\"sms\":{\"imei\":\"\",\"message\":\"\",\"sender\":\"\",\"created\":\"\"},\"step_rate\":\"\",\"temperature\":{\"temperature\":27.72,\"created\":\"2021-04-21 14:39:48\"},\"wear_status\":\"\",\"wifi\":{\"locate_time\":\"\",\"macbook\":null}}",

"primary_key": "da5677834bff9e1a49084aa1a8407fc3",

"status": 2,

"updated": "2021-04-21 14:39:48"

}

],

"total": 2481

}

}



来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/70007626/viewspace-2897458/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2021-09-29

  • 博文量
    4
  • 访问量
    6124