diff --git a/exampleCode/api/interface/del.json b/exampleCode/api/interface/del.json new file mode 100644 index 00000000..de81d507 --- /dev/null +++ b/exampleCode/api/interface/del.json @@ -0,0 +1,8 @@ +{ + "errcode": 0, + "errmsg": "success", + "data": { + "n": 1, + "ok": 1 + } +} \ No newline at end of file diff --git a/exampleCode/api/interface/up.json b/exampleCode/api/interface/up.json new file mode 100644 index 00000000..7d107e7e --- /dev/null +++ b/exampleCode/api/interface/up.json @@ -0,0 +1,9 @@ +{ + "errcode": 0, + "errmsg": "success", + "data": { + "n": 1, + "nModified": 1, + "ok": 1 + } +} \ No newline at end of file diff --git a/exampleCode/api/user/del.json b/exampleCode/api/user/del.json new file mode 100644 index 00000000..de81d507 --- /dev/null +++ b/exampleCode/api/user/del.json @@ -0,0 +1,8 @@ +{ + "errcode": 0, + "errmsg": "success", + "data": { + "n": 1, + "ok": 1 + } +} \ No newline at end of file diff --git a/exampleCode/api/user/logout.json b/exampleCode/api/user/logout.json new file mode 100644 index 00000000..8071380a --- /dev/null +++ b/exampleCode/api/user/logout.json @@ -0,0 +1,5 @@ +{ + "errcode": 0, + "errmsg": "success", + "data": "ok" +} \ No newline at end of file diff --git a/exampleCode/api/user/reg.json b/exampleCode/api/user/reg.json new file mode 100644 index 00000000..2644a390 --- /dev/null +++ b/exampleCode/api/user/reg.json @@ -0,0 +1,11 @@ +{ + "errcode": 0, + "errmsg": "success", + "data": { + "uid": 139, + "email": "18500803805@163.com", + "add_time": 1499768413, + "up_time": 1499768413, + "role": "member" + } +} \ No newline at end of file diff --git a/exampleCode/api/user/up.json b/exampleCode/api/user/up.json new file mode 100644 index 00000000..7d107e7e --- /dev/null +++ b/exampleCode/api/user/up.json @@ -0,0 +1,9 @@ +{ + "errcode": 0, + "errmsg": "success", + "data": { + "n": 1, + "nModified": 1, + "ok": 1 + } +} \ No newline at end of file