⚡ optimize the list of comments
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
package dto
|
||||
|
||||
type RoleRequestDto struct {
|
||||
RoleName string `json:"role_name"`
|
||||
RoleKey string `json:"role_key"`
|
||||
RoleName string `json:"role_name" binding:"required"`
|
||||
RoleKey string `json:"role_key" binding:"required"`
|
||||
}
|
||||
|
||||
type AddRoleToUserRequestDto struct {
|
||||
Uid string `json:"uid"`
|
||||
RoleKey string `json:"role_key"`
|
||||
Uid string `json:"uid" binding:"required"`
|
||||
RoleKey string `json:"role_key" binding:"required"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user