enhance(user):打通用户登录功能,调整程序基本结构。

This commit is contained in:
徐涛
2023-06-01 06:01:29 +08:00
parent 523e6215f4
commit 61fef8d0fa
3 changed files with 60 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
package router
import (
"electricity_bill_calc/controller"
"electricity_bill_calc/logger"
"electricity_bill_calc/security"
"fmt"
@@ -43,6 +44,8 @@ func App() *fiber.App {
}))
app.Use(security.SessionRecovery)
controller.InitializeUserHandlers(app)
return app
}