🚧 添加model

This commit is contained in:
微凉
2021-03-04 23:50:51 +08:00
parent 9cb548d4f7
commit 389226662c
9 changed files with 183 additions and 2 deletions

View File

@ -61,6 +61,10 @@ func start() {
log.Errorf("初始化阿里云盘出现错误,启动失败.")
return
}
if !InitModel() {
log.Errorf("初始化数据库出现错误,启动失败.")
return
}
InitCache()
InitCron()
server()