@@ -102,7 +102,7 @@
var that = this
function createTips() {
var ele = document.getElementById("time");
- ele.innerHTML = "时间到!"
+ ele.innerHTML = "投票截止!"
}
function changeTime() {
@@ -121,6 +121,9 @@
this.time = res.data.time
this.setTime()
})
+ axios.post('http://127.0.0.1:8000/start').then(res=>{
+ console.log("开启成功")
+ })
}
})
diff --git a/src/Data/__pycache__/New_pc_1.cpython-310.pyc b/src/Data/__pycache__/New_pc_1.cpython-310.pyc
index 14e5094..faf7958 100644
Binary files a/src/Data/__pycache__/New_pc_1.cpython-310.pyc and b/src/Data/__pycache__/New_pc_1.cpython-310.pyc differ
diff --git a/src/Data/__pycache__/New_pc_1.cpython-311.pyc b/src/Data/__pycache__/New_pc_1.cpython-311.pyc
new file mode 100644
index 0000000..d871365
Binary files /dev/null and b/src/Data/__pycache__/New_pc_1.cpython-311.pyc differ
diff --git a/src/Data/history.csv b/src/Data/history.csv
index e69de29..9925af3 100644
--- a/src/Data/history.csv
+++ b/src/Data/history.csv
@@ -0,0 +1 @@
+question,A,B,C,D,E
diff --git a/src/Data/main.py b/src/Data/main.py
index f0a9c13..d0d8bc8 100644
--- a/src/Data/main.py
+++ b/src/Data/main.py
@@ -27,7 +27,7 @@ class PresetIndex(BaseModel):
#定义全局所要用的变量
-danmu=Spider(7734200)
+danmu=Spider(24471267)
ifStop=True
data = list()
options = dict()
diff --git a/src/Data/preset.csv b/src/Data/preset.csv
index 977a45c..c34ac99 100644
--- a/src/Data/preset.csv
+++ b/src/Data/preset.csv
@@ -1,3 +1,7 @@
question,A,B,C,D,E,time
-团子去找谁问问呢?,1,2,3,4,30,30
-团子哭哭?,width,hahahah,weew,wee,werwe,30
\ No newline at end of file
+是否起床,立刻起床,再睡五分钟,,,,30
+早上去哪个食堂吃饭,二食堂,七食堂,八食堂,,,30
+怎么去教室,步行,骑自行车,骑电瓶车,主题巴士,,30
+高数答案,选择A,选择B,,,,30
+午饭吃什么,去后湖吃饭,让舍友带饭,食堂用餐,,,30
+校园活动,做志愿者,打羽毛球,去图书馆阅读书籍,,,30