Commit e76516f8 by zhengyoujia

Update README.md

parent 9d915a1b
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
- `date`: 要检索数据的日期。例子: `2023-05-03` - `date`: 要检索数据的日期。例子: `2023-05-03`
- `sight`: 景点名称。例子: `八公山森林公园` - `sight`: 景点名称。例子: `八公山森林公园`
- `year`:要检索数据的年份。例子:`2023` - `year`:要检索数据的年份。例子:`2023`
## 示例: ## 示例:
```http://localhost:30016/getdata?content=sightVisitorFlowByDay&date=2023-05-03&sight=八公山森林公园``` ```http://localhost:30016/getdata?content=sightVisitorFlowByDay&date=2023-05-03&sight=八公山森林公园```
...@@ -72,11 +73,13 @@ ...@@ -72,11 +73,13 @@
- `date`: The date you are searching. E.g. `2023-05-03` - `date`: The date you are searching. E.g. `2023-05-03`
- `sight`: The name of the sight. E.g. `八公山森林公园` - `sight`: The name of the sight. E.g. `八公山森林公园`
- `year`:The year you are searching. E.g. `2023` - `year`:The year you are searching. E.g. `2023`
## Example Request: ## Example Request:
- Left Side: - Left Side:
```http://localhost:30016/getdata?content=sightVisitorFlowByDay&date=2023-05-03&sight=八公山森林公园``` ```http://localhost:30016/getdata?content=sightVisitorFlowByDay&date=2023-05-03&sight=八公山森林公园```
- Middle: ```http://localhost:30016/getdata?content=currentEventStrategy&date=2023-05-03``` - Middle: ```http://localhost:30016/getdata?content=currentEventStrategy&date=2023-05-03```
- Right Side: ```http://localhost:30016/getdata?content=getEventCategoryCount&year=2024``` - Right Side: ```http://localhost:30016/getdata?content=getEventCategoryCount&year=2024```
## How to Run: ## How to Run:
1. Clone the Repository (```git clone http://123.207.147.179:8888/chenjinjing/shouzhouServer.git```) 1. Clone the Repository (```git clone http://123.207.147.179:8888/chenjinjing/shouzhouServer.git```)
2. In the root directory, run ```npm install``` 2. In the root directory, run ```npm install```
......
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