add backend tpl

This commit is contained in:
Rogee
2024-11-28 23:18:11 +08:00
parent 77e962b668
commit f7d95418a2
86 changed files with 3229 additions and 135 deletions

View File

@@ -0,0 +1,10 @@
package users
import "github.com/gofiber/fiber/v3"
func RegisterRoutes(app *fiber.App) {
group := app.Group("users")
// 获取当前用户信息
group.Get("/self", GetCurrentUserInfo)
}