update api.txt

ht
lyf666 2017-02-28 10:34:17 +08:00
parent 9415dbc547
commit 59a8241dcf
1 changed files with 12 additions and 1 deletions

View File

@ -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或者全是0id除外
},
sort: {
key1: 'desc',
key2: 'asc'
}
return dict list json
}