mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-04-02 02:35:21 +08:00
feat: flow design & page query refactor
This commit is contained in:
@@ -38,7 +38,7 @@ func (m *MsgTmpl) GetMsgTmpls(rc *req.Ctx) {
|
||||
Code: rc.Query("code"),
|
||||
}
|
||||
condition.Id = cast.ToUint64(rc.QueryInt("id"))
|
||||
res, err := m.msgTmplApp.GetPageList(condition, rc.GetPageParam(), new([]entity.MsgTmpl))
|
||||
res, err := m.msgTmplApp.GetPageList(condition, rc.GetPageParam())
|
||||
biz.ErrIsNil(err)
|
||||
rc.ResData = res
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user