diff --git a/src/main/webapp/doc/api.txt b/src/main/webapp/doc/api.txt index 4a736e2..e678e11 100644 --- a/src/main/webapp/doc/api.txt +++ b/src/main/webapp/doc/api.txt @@ -1,12 +1,23 @@ index ( pageSize optional default 20, pageNum optional default 1, - json optional + json optional, + proj optional, + sort optional ) { special json: { key: $ex //exists key: $nex //not exists key: $revalue //模糊查询,例:$re^te te开头的value + }, + proj json: { + key1: 1, + key2:0 + //必须全是1或者全是0,id除外 + }, + sort: { + key1: 'desc', + key2: 'asc' } return dict list json }