feat: add posts

This commit is contained in:
Rogee
2025-01-10 19:22:39 +08:00
parent f3ae895fec
commit ab576706e7
10 changed files with 558 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ func (r *Routes) Name() string {
func (r *Routes) Register(router fiber.Router) {
// 注册路由组: Controller
router.Get("/users/info", DataFunc1(
router.Get("/api/v1/users/info", DataFunc1(
r.controller.Info,
Local[*jwt.Claims]("claim"),
))