新增获取角色列表,调整文件结构

This commit is contained in:
2023-06-13 08:48:07 +08:00
parent c4d8dd6791
commit 4a9c5b9c4d
16 changed files with 111 additions and 38 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
package requests
type Basic struct {
type BasicRequest struct {
Login // 登陆
}
+12
View File
@@ -0,0 +1,12 @@
package requests
type RoleRequest struct {
GetRoleList // 获取角色列表
}
// GetRoleListRequest 获取角色列表
type GetRoleList struct {
RoleName string `json:"role_name" form:"role_name" label:"角色名称"`
Page int `json:"page" form:"page" label:"页码"`
PageSize int `json:"page_size" form:"page_size" label:"每页个数"`
}