Skip to content

Commit 0860e11

Browse files
committedMar 18, 2019
update readme
1 parent 249e519 commit 0860e11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ $ crontab -e
4242

4343
### 1.*接口的调用次数*
4444
```sh
45-
(GET) http://host:port/webapi/get
45+
(GET) http://host:port/monitor/get
4646

4747
# 参数(urlencode)
4848
key : <接口名>, 获得指定接口的调用次数, 若没有指明则会返回所有接口的调用次数
4949
date : <日期>, 指明获得哪天的接口调用数据, 格式为:%Y-%m-%d
5050

5151
# 响应
52-
响应上是各个时间段的调用次数, 时间段用时间戳stamp表示, 若希望获得格式化的显示可以使用`/webapi/get/pretty`接口
52+
响应上是各个时间段的调用次数, 时间段用时间戳stamp表示, 若希望获得格式化的显示可以使用`/monitor/get/pretty`接口
5353
{
5454
"<key-name-1>" : [
5555
[<start-timestamp>, <end-timestamp>, <number>],
@@ -65,7 +65,7 @@ date : <日期>, 指明获得哪天的接口调用数据, 格式为:%Y-%m-%d
6565
}
6666

6767
# DEMO
68-
http://test.topbook.cc:5000/monitor/get?key=/webapi/user/profile
68+
http://test.topbook.cc:5000/monitor/get?key=/monitor/user/profile
6969
```
7070
### 2.*获得请求名称*
7171
```sh

0 commit comments

Comments
 (0)
Please sign in to comment.