mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 13:49:24 +08:00
修改为sql数据库
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user