fix
liuxiaolong
2020-07-30 7891841b437e281d619a5eb2bf1ce34c38a603b2
models/db.go
@@ -10,7 +10,7 @@
func InitDb() {
   dbUrl := beego.AppConfig.String("dbUrl")
   rootPath := util.GetAppRootPath()
   dbPath := rootPath + dbUrl
   dbPath := rootPath +"/"+ dbUrl
   orm.RegisterDriver("sqlite", orm.DRSqlite)
   _ = orm.RegisterDataBase("default", "sqlite3", dbPath)
   orm.RegisterModel(new(User), new(UserCar), new(SysUpgrade))