From 53482b7d112119f17b56905a2fb1a7ccd9646ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9D=E9=91=AB=E5=A5=94?= Date: Fri, 14 Jul 2017 17:00:43 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=A2=9E=E5=8A=A0=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E8=BF=94=E5=9B=9E=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exampleCode/api/project/search.json | 34 +++++++++++++++++++++++++++++ exampleCode/api/user/search.json | 16 ++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 exampleCode/api/project/search.json create mode 100644 exampleCode/api/user/search.json diff --git a/exampleCode/api/project/search.json b/exampleCode/api/project/search.json new file mode 100644 index 00000000..2b7fea72 --- /dev/null +++ b/exampleCode/api/project/search.json @@ -0,0 +1,34 @@ +{ + "errcode": 200, + "errmsg": "ok", + "data": { + "project": [ + { + "_id": 101, + "name": "project yapi", + "prd_host": "yapi.qunar.com", + "basepath": "/yapi/", + "uid": 101, + "group_id": 193, + "add_time": 1500013365, + "up_time": 1500013365, + "__v": 0, + "env": [], + "members": [ + "101" + ] + } + ], + "group": [ + { + "_id": 193, + "group_name": "yapi", + "group_desc": "group yapi", + "uid": 0, + "add_time": 1500013066, + "up_time": 1500013066, + "__v": 0 + } + ] + } +} \ No newline at end of file diff --git a/exampleCode/api/user/search.json b/exampleCode/api/user/search.json new file mode 100644 index 00000000..8f257ab3 --- /dev/null +++ b/exampleCode/api/user/search.json @@ -0,0 +1,16 @@ +{ + "errcode": 200, + "errmsg": "ok", + "data": [ + { + "_id": 101, + "email": "admin@admin.com", + "password": "3d078af947521bb4a99c93f5e089fc2ac601fa09", + "passsalt": "qc8lnjpnbs9z1vodz4ynfjemi", + "role": "admin", + "add_time": 1499936103, + "up_time": 1499936103, + "__v": 0 + } + ] +} \ No newline at end of file