作者 yangfu

共创项目查询修改

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