From 59a8241dcf404bb0d4866cfb120e3f580f52837c Mon Sep 17 00:00:00 2001 From: lyf666 Date: Tue, 28 Feb 2017 10:34:17 +0800 Subject: [PATCH] update api.txt --- src/main/webapp/doc/api.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 }