- pgsql 获取表名, 获取表字段(todo), 获取数据库名
refactor:
- 自动化代码与自动化代码历史 代码规范化
- mysql 获取表名, 获取表字段, 获取数据库名
- enter 代码优化
This commit is contained in:
SliverHorn
2021-11-20 22:46:05 +08:00
parent 77a9b20346
commit 6cc495de95
28 changed files with 449 additions and 250 deletions

View File

@@ -9,9 +9,9 @@ import (
"github.com/gin-gonic/gin"
)
type DBApi struct {
}
type DBApi struct{}
// InitDB
// @Tags InitDB
// @Summary 初始化用户数据库
// @Produce application/json
@@ -38,6 +38,7 @@ func (i *DBApi) InitDB(c *gin.Context) {
response.OkWithData("自动创建数据库成功", c)
}
// CheckDB
// @Tags CheckDB
// @Summary 初始化用户数据库
// @Produce application/json