作者 yangfu

共创项目查询修改

... ... @@ -204,7 +204,7 @@ func (repository *CooperationProjectRepository) Find(queryOptions map[string]int
}
offsetLimitFlag := true
if _, ok := queryOptions["limit"]; ok {
offsetLimitFlag = true
offsetLimitFlag = false
}
if offsetLimitFlag {
query.SetOffsetAndLimit(20)
... ...