-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a5ea95
commit 1254287
Showing
1 changed file
with
27 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,41 @@ | ||
## 项目名称 | ||
> 请介绍一下你的项目吧 | ||
## 项目介绍 | ||
|
||
当前项目为客户端访问的接口API项目.有且仅有次功能. 运行之后网页打开为空.或无法访问为正常现象.纯API接口.没有任何页面 | ||
|
||
## 运行条件 | ||
> 列出运行该项目所必须的条件和相关依赖 | ||
* 条件一 | ||
* 条件二 | ||
* 条件三 | ||
|
||
默认连接的数据库为MySQL, 请提前安装对应的环境 | ||
|
||
运行环境为跨平台环境,包括:macOS、Windows、Linux | ||
|
||
## 运行说明 | ||
> 说明如何运行和使用你的项目,建议给出具体的步骤说明 | ||
* 操作一 | ||
* 操作二 | ||
* 操作三 | ||
|
||
运行环境需要有NET8 的环境 | ||
|
||
下载项目,直接运行即可 | ||
|
||
## 常见问题 | ||
|
||
- 为什么连接不上数据库? | ||
|
||
请检查连接字符串是否配置正确.检查appsettings.json是否配置正确 | ||
|
||
- 为什么无法访问网页? | ||
|
||
因为是API.所以没有页面 | ||
|
||
- 为什么没有页面? | ||
|
||
因为是API.所以没有页面 | ||
|
||
- 为什么正常之后接口返回错误? | ||
|
||
## 测试说明 | ||
> 如果有测试相关内容需要说明,请填写在这里 | ||
请确认数据库是否存在和表是否存在和表内容是否正确 | ||
|
||
- 启动之后报错数据库或表不存在? | ||
|
||
导入sql文件,执行创建数据库和表 | ||
|
||
## 技术架构 | ||
> 使用的技术框架或系统架构图等相关说明,请填写在这里 | ||
- 启动之后端口提示被占用了? | ||
|
||
请使用命令参数指定一个没有被占用的端口,官方文档地址: https://learn.microsoft.com/zh-cn/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-8.0 |