refactor: remove commented-out API route configuration for clarity

This commit is contained in:
mlogclub
2026-04-25 10:35:18 +08:00
parent 1b3fc8159c
commit 270bb83fdb
2 changed files with 1 additions and 8 deletions
-6
View File
@@ -102,12 +102,6 @@ func addRouter(app *iris.Application) {
m.Party("/message", middleware.ExternalInfoMiddleware).Handle(new(api.MessageController))
})
// mvc.Configure(app.Party("/api/open/im", middleware.ChannelContextMiddleware), func(m *mvc.Application) {
// m.Party("/widget").Handle(new(api.ImWidgetController))
// m.Party("/conversation").Handle(new(api.ConversationController))
// m.Party("/message").Handle(new(api.MessageController))
// })
mvc.Configure(app.Party("/api/dashboard", middleware.AuthMiddleware), func(m *mvc.Application) {
m.Party("/dashboard").Handle(new(dashboard.DashboardController))
m.Party("/user").Handle(new(dashboard.UserController))