修改为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

@@ -12,7 +12,7 @@ import (
func preIpData() {
tmpDb := path.Join(os.TempDir(), "anylink_test.db")
base.Cfg.DbType = "sqlite3"
base.Cfg.DbDsn = tmpDb
base.Cfg.DbSource = tmpDb
initDb()
}