增加sqlite数据库的初始化

This commit is contained in:
Arthur Liu
2021-06-10 12:15:40 +08:00
parent 9b47c8f57c
commit 4902101cbe
8 changed files with 164 additions and 57 deletions
+2
View File
@@ -1,6 +1,8 @@
package request
type InitDB struct {
SqlType string `json:"sqlType"` //数据库类型
Path string `json:"path"` //sqlite数据库路径
Host string `json:"host"` // 服务器地址
Port string `json:"port"` // 数据库连接端口
UserName string `json:"userName" binding:"required"` // 数据库用户名