set-date-time 接口
设置时间和时间同步服务器。
请求方式
GET http://ip/usapi?method=set-date-time&is-auto=1&time=2019-09-10+15:00:00&...
| 参数 | 说明 | 
|---|---|
| method | 方法名称:set-date-time | 
| is-auto | 是否自动获取时间,0:手动设置,1:根据时区自动获取 | 
| time | 手动设置时间,字符串类型,格式如:2019-09-10 15:10:00 当 is-auto=1 时,NTP 服务器必填,time="" 即可  | 
| ntp-server | NTP 服务器 | 
| ntp-server-backup | 备用 NTP 服务器 | 
返回数据
{
  "result": 0
}
| 属性 | 说明 | 
|---|---|
| result | 返回状态,0:操作成功,返回其它值请参考 API 状态码 |