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