fix: 修复用户可选分组不能选择用户分组 (close #528)

This commit is contained in:
1808837298@qq.com committed 2024-10-14 16:22:22 +08:00
1 parent 7cd507f13b
commit 347cbf63bb
6 files changed
+38 -14

No files matched your search

+1
View File
@@ -44,6 +44,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)