视频连线
This commit is contained in:
@@ -60,10 +60,13 @@ func InitializeApp(cfg *config.Config) (*App, error) {
|
||||
}
|
||||
userDAO := dao.NewUserDAO(gormDB)
|
||||
roleDAO := dao.NewRoleDAO(gormDB)
|
||||
oauthAccountDAO := dao.NewOAuthAccountDAO(gormDB)
|
||||
jwtConfig := provideJWTConfig(cfg)
|
||||
tokenStore := service.NewTokenStore(client, jwtConfig)
|
||||
authService := service.NewAuthService(userDAO, roleDAO, jwtConfig, tokenStore)
|
||||
authController := controller.NewAuthController(authService)
|
||||
oauthConfig := provideOAuthConfig(cfg)
|
||||
oauthService := service.NewOAuthService(userDAO, oauthAccountDAO, roleDAO, authService, oauthConfig, client)
|
||||
authController := controller.NewAuthController(authService, oauthService, oauthConfig)
|
||||
adminAuthController := controller.NewAdminAuthController(authService)
|
||||
userManageDAO := dao2.NewUserManageDAO(gormDB)
|
||||
userManageService := service2.NewUserManageService(userManageDAO, userDAO, roleDAO)
|
||||
|
||||
Reference in New Issue
Block a user