Merge remote-tracking branch 'upstream/main'

This commit is contained in:
wozulong
2024-10-14 16:32:13 +08:00
7 changed files with 39 additions and 15 deletions

View File

@@ -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)