注: 固件版本4.4.3后可用
POST /api/v0.0.1/deviceinfo/update_time?token={token}
名称 | 类型 | 描述 |
---|---|---|
local_yea |
String | 年 |
local_mon |
String | 月 |
local_dat |
String | 日 |
local_hou |
String | 时 |
local_min |
String | 分 |
local_sec |
String | 秒 |
名称 | 类型 | 描述 |
---|---|---|
status |
String | 状态 Success/Failed |
data |
String | 返回信息 |
请求示例
POST /api/v0.0.1/deviceinfo/update_time?token=ac897fcf31e94bcee7d3e7c961b53495 HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 172.16.6.150
{
"local_yea":"2024",
"local_mon":"07",
"local_dat":"09",
"local_hou":"15",
"local_min":"06",
"local_sec":"06"
}
响应示例
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
"status": "Success",
"data": "2024-07-09 15:06:06"
}