MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / AssignUsersRoleRequest

Struct AssignUsersRoleRequest

internal/api/req/role_req.go:129–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129type AssignUsersRoleRequest struct {
130 UserIds []int `json:"user_ids" binding:"required,gt=0"` // 用户ID
131 RoleIds []int `json:"role_ids"` // 角色ID列表
132 MenuIds []int `json:"menu_ids"` // 菜单ID列表
133 ApiIds []int `json:"api_ids"` // API ID列表
134}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected