Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shouzhouServer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjinjing
shouzhouServer
Commits
e4c9d5cd
Commit
e4c9d5cd
authored
Jul 04, 2024
by
Leo Zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
在 README.md 里增加错误代码相关信息
parent
f771f1df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletions
+18
-1
README.md
README.md
+18
-1
No files found.
README.md
View file @
e4c9d5cd
...
@@ -35,6 +35,15 @@
...
@@ -35,6 +35,15 @@
2. 在根目录运行:```npm install```
2. 在根目录运行:```npm install```
3. 在VSCode编译器里按F5开始运行服务器
3. 在VSCode编译器里按F5开始运行服务器
## 错误代码:
- 501:数据Excel文件不在指定位置
- 502:数据Excel文件找不到需要的表格
- 503:请求内缺少日期参数
- 504:请求内缺少日期或者景点参数
- 505:不支持该请求
- 506:请求内缺少年份参数
- 500:未知错误
# English
# English
## Endpoint: /szgc/getdata
## Endpoint: /szgc/getdata
...
@@ -72,4 +81,11 @@
...
@@ -72,4 +81,11 @@
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
```
3.
Using VScode IDE, press F5 to start the server.
3.
Using VScode IDE, press F5 to start the server.
## Error Code:
-
501: The Excel file storing the data is missing
-
502: The Excel sheet doesn't exist in the Excel file (Excel file is corrupted)
-
503: The request is missing parameter date
-
504: The request is missing parameter date and sight
-
505: Unsupported request
-
506: The request is missing parameter year
-
500: Unknown error
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment