From 8af2079e8738e60e93b88b17c601a1940486e63d Mon Sep 17 00:00:00 2001 From: song Date: Tue, 27 Jul 2021 23:21:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B0=E5=9C=BA=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 167 +++++++++++++++++++++++++++++++++++++++++++++++------ route.js | 24 ++++++++ 2 files changed, 173 insertions(+), 18 deletions(-) diff --git a/index.html b/index.html index 3968d7a..1a5737a 100644 --- a/index.html +++ b/index.html @@ -47,35 +47,166 @@ -
-
-
-
- +
+ +
+
+
+ +
+ +
+
diff --git a/route.js b/route.js index ccf7171..88e96dc 100644 --- a/route.js +++ b/route.js @@ -5,3 +5,27 @@ get('/blog').to.json({ title: 'Hello world' } }) + +post('/getDate').to.json({ + code: 200, + msg: 'ok', + data: { + status: 0, + startTime: '1627396856605', + disparity: 0, + planStartTime: '1627360856000' + }, + success: true +}) + +post('/chooseTime').to.json({ + code: 200, + msg: 'ok', + data: { + status: 1, + startTime: '1627360856000', + disparity: 0, + planStartTime: '1627396856605' + }, + success: true +})