@@ -68,7 +68,7 @@ func getQuery(query map[string]interface{}) (map[string]interface{}, map[string]
}
// sort int自定义排序
if _sort.(string) == "sort" {
- sortMap = repo.Map{"sort": -1}
+ sortMap = repo.Map{"sort": 1}
delete(query, "sort")