增加pgsql适配(todo)

This commit is contained in:
蒋吉兆
2021-11-15 23:00:14 +08:00
parent 0d9f9e41bb
commit 1744c0b44d
9 changed files with 125 additions and 40 deletions

View File

@@ -1,6 +1,7 @@
package request
type InitDB struct {
DBType string `json:"DBType"` // 数据库类型
Host string `json:"host"` // 服务器地址
Port string `json:"port"` // 数据库连接端口
UserName string `json:"userName" binding:"required"` // 数据库用户名