Skip to content

获取服务端时间(新) ​

历史版本 ​

请求路径 ​

  • 请求方式:GET
  • 请求头:Content-Type:application/json
  • 接口地址:https://gateway.nuoyunapi.com/Api/System/getServerTimestamp/2.0.0
  • 频率限制:10秒1000次

请求参数 ​

无需传递参数

请求示例 ​

GET https://gateway.nuoyunapi.com/Api/System/getServerTimestamp/2.0.0

响应参数 ​

参数必选类型描述
code是integer状态码:200-成功,400-失败
msg是string提示信息
data是object消息内容

data 参数结构 ​

参数必选类型描述
timestamp是integer服务端时间戳(毫秒级)

响应示例 ​

json
{
    "code": 200,
    "msg": "Success",
    "data": {
        "timestamp": 1750228679863
    }
}

状态码说明 ​

状态码描述
200成功
400失败