修改为sql数据库

This commit is contained in:
bjdgyc
2021-07-16 11:25:06 +08:00
parent 884f41d2f8
commit e7ef29c4ad
9 changed files with 36 additions and 27 deletions

View File

@@ -16,7 +16,7 @@ func preData(tmpDir string) {
base.Test()
tmpDb := path.Join(tmpDir, "test.db")
base.Cfg.DbType = "sqlite3"
base.Cfg.DbDsn = tmpDb
base.Cfg.DbSource = tmpDb
base.Cfg.Ipv4CIDR = "192.168.3.0/24"
base.Cfg.Ipv4Start = "192.168.3.1"
base.Cfg.Ipv4End = "192.168.3.199"