feat: update page list show
This commit is contained in:
@@ -118,8 +118,8 @@ func (m *postsModel) countByCondition(ctx context.Context, expr BoolExpression)
|
||||
}
|
||||
|
||||
func (m *postsModel) List(ctx context.Context, pagination *requests.Pagination, cond BoolExpression) (*requests.Pager, error) {
|
||||
limit := pagination.Limit
|
||||
offset := pagination.Offset()
|
||||
limit := pagination.GetLimit()
|
||||
offset := pagination.GetOffset()
|
||||
|
||||
tbl := table.Posts
|
||||
stmt := tbl.
|
||||
|
||||
Reference in New Issue
Block a user