小更新

This commit is contained in:
MarkusJoe
2022-04-17 13:29:45 +08:00
parent 9af1910857
commit cc2062b7ea
2 files changed
+8 -10

No files matched your search

-2
View File
@@ -60,8 +60,6 @@
<img src="https://static-file-hosting.vercel.app/static/lewd/8" alt="fast_test_example_svg"> <img src="https://static-file-hosting.vercel.app/static/lewd/8" alt="fast_test_example_svg">
<img src="https://static-file-hosting.vercel.app/static/lewd/2" alt="fast_test_example_svg"> <img src="https://static-file-hosting.vercel.app/static/lewd/2" alt="fast_test_example_svg">
<img src="https://static-file-hosting.vercel.app/static/lewd/4" alt="fast_test_example_svg"> <img src="https://static-file-hosting.vercel.app/static/lewd/4" alt="fast_test_example_svg">
</div> </div>
<div class="api"> <div class="api">
<button onclick="request_async()">点击获取计数数值</button> <button onclick="request_async()">点击获取计数数值</button>
+7 -7
View File
@@ -63,7 +63,7 @@ $ curl -L -X https://requestcounter.herokuapp.com/count/main/
### 调用示例 ### 调用示例
```shell ```shell
$ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/overall/?limit=20&key=<key> $ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/overall/?limit=20
``` ```
```json ```json
@@ -98,7 +98,7 @@ $ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/overall/?limit=20&k
### 调用示例 ### 调用示例
```shell ```shell
$ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/query/?name=main&nochange=1&key=<key> $ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/query/?name=main&nochange=1
``` ```
```json ```json
@@ -121,7 +121,7 @@ $ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/query/?name=main&no
### 调用示例 ### 调用示例
```shell ```shell
$ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/theme/?name=lewd&key=<key> $ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/theme/?name=lewd
``` ```
```json ```json
@@ -148,7 +148,7 @@ $ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/theme/?name=lewd&ke
> 无参数 > 无参数
```shell ```shell
$ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/alltables/&key=<key> $ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/alltables/
``` ```
```json ```json
@@ -170,12 +170,12 @@ $ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/alltables/&key=<key
### 调用示例 ### 调用示例
```shell ```shell
$ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/export/&key=<key> $ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/export/?key=<key>
``` ```
> 该接口请求成功后返回文件 > 该接口请求成功后返回文件
## `/test`接口 ## `/test/`接口
> 此接口仅用于测试 只能增加`test-example`名称的计数次数 > 此接口仅用于测试 只能增加`test-example`名称的计数次数
@@ -184,7 +184,7 @@ $ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/export/&key=<key>
### 调用示例 ### 调用示例
```shell ```shell
$ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/test $ curl -L -X GET https://requestcounter.herokuapp.com/api/v1/test/
``` ```
```json ```json