...
|
...
|
@@ -157,6 +157,9 @@ func (repo *UserRepository) Find(queryOptions map[string]interface{}) (int, []*d |
|
|
}
|
|
|
//query.Limit(v.(int))
|
|
|
}
|
|
|
// 按创建时间升序
|
|
|
query.Order("created_at ASC")
|
|
|
|
|
|
cnt, err := query.SelectAndCount()
|
|
|
if err != nil {
|
|
|
return 0, nil, err
|
...
|
...
|
|