Commit c56cdd39 by lichaogang

add get servertime

parent fb1182d5
......@@ -23,7 +23,7 @@ API请求参数
cmd 上传命令
backup 上传备份数据 params 月份,如果为空就是当前月份,允许多个月份上传用逗号隔开(6,7,8)上传六七八月份的数据
backup 上传备份数据 params 如果为空,上传最近一年数据,如果传某个月的数据,例如 2019.6
log 上传log params 月份,同上
### Example
......@@ -42,7 +42,7 @@ cmd 上传命令
{
"cmdId":1111
"cmd": "backup",
"params": "1",
"params": "2019.6",
"cmdTime":18910265201,
}
],
......
# 获取学生信息
## 修改记录
## 接口定义
/v1/get_server_time
GET
## Request
API请求参数
### Head
### Form Parameters
## Response
### Example
**Command**
curl -X GET \
http://localhost:8080/v1/get_server_time
**Output**
{
"data": 1552012800,
"errno": 200,
"msg": "success"
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment