mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 16:00:25 +08:00
feat: 统一分页表格组件、修复系统配置无法配置单个属性
This commit is contained in:
@@ -20,7 +20,7 @@ type Role struct {
|
||||
|
||||
func (r *Role) Roles(rc *req.Ctx) {
|
||||
g := rc.GinCtx
|
||||
condition := &entity.Role{}
|
||||
condition := &entity.Role{Name: g.Query("name")}
|
||||
rc.ResData = r.RoleApp.GetPageList(condition, ginx.GetPageParam(g), new([]entity.Role))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user