增加sqlite数据库的初始化
This commit is contained in:
@@ -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"` // 数据库用户名
|
||||
|
||||
Reference in New Issue
Block a user