|
@@ -20,6 +20,7 @@ func (s *UserRouter) InitUserRouter(Router *gin.RouterGroup) {
|
|
userRouter.POST("setUserAuthority", baseApi.SetUserAuthority) // 设置用户权限
|
|
userRouter.POST("setUserAuthority", baseApi.SetUserAuthority) // 设置用户权限
|
|
userRouter.DELETE("deleteUser", baseApi.DeleteUser) // 删除用户
|
|
userRouter.DELETE("deleteUser", baseApi.DeleteUser) // 删除用户
|
|
userRouter.PUT("setUserInfo", baseApi.SetUserInfo) // 设置用户信息
|
|
userRouter.PUT("setUserInfo", baseApi.SetUserInfo) // 设置用户信息
|
|
|
|
+ userRouter.PUT("setUserName", baseApi.SetUserName) // 设置用户信息
|
|
userRouter.POST("setUserAuthorities", baseApi.SetUserAuthorities) // 设置用户权限组
|
|
userRouter.POST("setUserAuthorities", baseApi.SetUserAuthorities) // 设置用户权限组
|
|
userRouter.GET("getUserInfo", baseApi.GetUserInfo) // 获取自身信息
|
|
userRouter.GET("getUserInfo", baseApi.GetUserInfo) // 获取自身信息
|
|
userRouter.GET("getUserInfoById", baseApi.GetUserInfoById) // 获取自身信息
|
|
userRouter.GET("getUserInfoById", baseApi.GetUserInfoById) // 获取自身信息
|