mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-14 01:43:44 +08:00
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
@@ -46,6 +46,7 @@ func SetApiRouter(router *gin.Engine) {
|
||||
selfRoute := userRoute.Group("/")
|
||||
selfRoute.Use(middleware.UserAuth())
|
||||
{
|
||||
selfRoute.GET("/self/groups", controller.GetUserGroups)
|
||||
selfRoute.GET("/self", controller.GetSelf)
|
||||
selfRoute.GET("/models", controller.GetUserModels)
|
||||
selfRoute.PUT("/self", controller.UpdateSelf)
|
||||
|
||||
Reference in New Issue
Block a user