From 0004823617ddd7fc3f5aa0ebf51d07e56a3c4d7d Mon Sep 17 00:00:00 2001
From: bigJIU <1572204178@qq.com>
Date: Mon, 24 Oct 2022 22:17:55 +0800
Subject: [PATCH] Radio Done
---
.idea/workspace.xml | 7 +-
__pycache__/main.cpython-39.pyc | Bin 1073 -> 1250 bytes
main.py | 10 +-
templates/eval.html | 183 +++++++++++++++++++++++++++-----
4 files changed, 168 insertions(+), 32 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 3c9b0a3..8741666 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -2,12 +2,9 @@
-
-
-
-
+
@@ -108,6 +105,6 @@
-
+
\ No newline at end of file
diff --git a/__pycache__/main.cpython-39.pyc b/__pycache__/main.cpython-39.pyc
index f8e88bbe38d71becfc41a6c4e3c72c137e4913f3..feb95acdd75893bb04edc3a8572d4c4d12f464fa 100644
GIT binary patch
delta 261
zcmdnU@raWzk(ZZ?0SI=^3QMkKp2#P|xND+zgFSl|X9`OSZ#rWNUoTUNV2V%+Lo;I(
zUn*OQa5huXwiJ<6_IUnO_5}h985kK-*|P*vL{db185tQ;#DW<##W!AZW8z!M>{lcN
zG`dItNUWT!#%!g;ot|3a73}Zll30=`4iqis01^yLT#OuyT#QAMK=$NwOkV6oB0yG=
z=;R4Z5(+#(EkTJXnfV|+@<4G^JyMganI#zoCr@Se<_766k^&JjlbB-oZeSLZ76%I5
z;)svWP0Y-Tj}Osgyv3T5npB$ZrztSmmc^S5Bwr*sc`}POqs-*}ERt*-jBJb?i~yJZ
BBt`%L
diff --git a/main.py b/main.py
index 566d156..996cd19 100644
--- a/main.py
+++ b/main.py
@@ -21,7 +21,15 @@ def eval():
@app.route('/', methods=['POST'])
-def getData():
+def getJSONData():
+ if request.method == 'POST':
+ print("POST")
+ print(request.json)
+ return redirect(url_for('datapage'))
+
+
+@app.route('/', methods=['POST'])
+def getRadioData():
if request.method == 'POST':
print("POST")
print(request.json)
diff --git a/templates/eval.html b/templates/eval.html
index b7ff642..3ef9d22 100644
--- a/templates/eval.html
+++ b/templates/eval.html
@@ -3,40 +3,171 @@
-
+
-
+
-
-
-
-
+
-
+
+
+
+