feat: 统一sql命名、函数命名

This commit is contained in:
2026-08-02 12:02:04 +08:00
parent d39342ce5f
commit 0e674e9d56
68 changed files with 1985 additions and 1720 deletions

View File

@@ -0,0 +1,24 @@
package admin
import (
"server/internal/router"
"go.uber.org/fx"
)
var Module = fx.Module("admin-handlers",
fx.Provide(
// 特殊路由 不用鉴权
router.AsRegistrar(router.AdminPublicRoutes, NewAuthHandler),
router.AsRegistrar(router.AdminRoutes, NewApiHandler),
router.AsRegistrar(router.AdminRoutes, NewCategoryHandler),
router.AsRegistrar(router.AdminRoutes, NewFileHandler),
router.AsRegistrar(router.AdminRoutes, NewMenuHandler),
router.AsRegistrar(router.AdminRoutes, NewPostHandler),
router.AsRegistrar(router.AdminRoutes, NewRoleHandler),
router.AsRegistrar(router.AdminRoutes, NewTagHandler),
router.AsRegistrar(router.AdminRoutes, NewUserHandler),
router.AsRegistrar(router.AdminRoutes, NewSystemHandler),
),
)