⚡ update qq/gitee/github oauth2 login
This commit is contained in:
11
api/role_api/dto/request_dto.go
Normal file
11
api/role_api/dto/request_dto.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package dto
|
||||
|
||||
type RoleRequestDto struct {
|
||||
RoleName string `json:"role_name"`
|
||||
RoleKey string `json:"role_key"`
|
||||
}
|
||||
|
||||
type AddRoleToUserRequestDto struct {
|
||||
Uid string `json:"uid"`
|
||||
RoleKey string `json:"role_key"`
|
||||
}
|
Reference in New Issue
Block a user