接口描述

获取SNTP信息

请求方式

GET

接口地址

/goform/goform_get_cmd_process

请求字段说明

参数名 类型 举例 描述 备注
isTest bool false 是否是测试模式 -
cmd string sntp_year,sntp_month,sntp_day,sntp_hour,sntp_minute,sntp_second,sntp_time_set_mode,sntp_server0,sntp_server1,sntp_server2,sntp_server3,sntp_server4,sntp_server5,sntp_server6,sntp_server7,sntp_server8,sntp_server9,sntp_other_server0,sntp_other_server1,sntp_other_server2,sntp_timezone,sntp_timezone_index,sntp_dst_enable,ppp_status,sntp_process_result,rj45_state 指令名称 固定值
multi_data integer 1 是否请求多行数据 固定值

正确返回

{
    "sntp_year": "2000",
    "sntp_month": "02",
    "sntp_day": "18",
    "sntp_hour": "05",
    "sntp_minute": "07",
    "sntp_second": "35",
    "sntp_time_set_mode": "auto",
    "sntp_server0": "time-nw.nist.gov",
    "sntp_server1": "pool.ntp.org",
    "sntp_server2": "europe.pool.ntp.org",
    "sntp_server3": "0.cn.pool.ntp.org",
    "sntp_server4": "1.cn.pool.ntp.org",
    "sntp_server5": "2.cn.pool.ntp.org",
    "sntp_server6": "3.cn.pool.ntp.org",
    "sntp_server7": "dns.sjtu.edu.cn",
    "sntp_server8": "ntp.gwadar.cn",
    "sntp_server9": "ntp-sz.chl.la",
    "sntp_other_server0": "",
    "sntp_other_server1": "",
    "sntp_other_server2": "",
    "sntp_timezone": "8",
    "sntp_timezone_index": "",
    "sntp_dst_enable": "0",
    "ppp_status": "ppp_disconnected",
    "sntp_process_result": "0",
    "rj45_state": ""
}

results matching ""

    No results matching ""