add backend tpl
This commit is contained in:
10
backend_v1/modules/frontend/users/routes.go
Normal file
10
backend_v1/modules/frontend/users/routes.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user