mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-30 11:26:35 +08:00
feat: flow design & page query refactor
This commit is contained in:
@@ -35,7 +35,7 @@ func (c *Config) ReqConfs() *req.Confs {
|
||||
func (c *Config) Configs(rc *req.Ctx) {
|
||||
condition := &entity.Config{Key: rc.Query("key")}
|
||||
condition.Permission = rc.GetLoginAccount().Username
|
||||
res, err := c.configApp.GetPageList(condition, rc.GetPageParam(), new([]entity.Config))
|
||||
res, err := c.configApp.GetPageList(condition, rc.GetPageParam())
|
||||
biz.ErrIsNil(err)
|
||||
rc.ResData = res
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user