🎨 update / add nsq
This commit is contained in:
11
api/role_api/request_param.go
Normal file
11
api/role_api/request_param.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package role_api
|
||||
|
||||
type RoleRequest struct {
|
||||
RoleName string `json:"role_name" binding:"required"`
|
||||
RoleKey string `json:"role_key" binding:"required"`
|
||||
}
|
||||
|
||||
type AddRoleToUserRequest struct {
|
||||
Uid string `json:"uid" binding:"required"`
|
||||
RoleKey string `json:"role_key" binding:"required"`
|
||||
}
|
Reference in New Issue
Block a user