最终版本(注释掉了无用且可能导致报错的内容

master
SaiCateDoan 5 years ago
parent 2ca667fb72
commit a2bd6e89de

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>

@ -3,7 +3,7 @@ from mydb import MyDB
app = Flask(__name__)
mydb=MyDB('localhost','root','kfq991122','covid19')
mydb=MyDB('localhost','root','20Z00t10x28_my','covid19')
@app.route('/')
def hello():

@ -239,6 +239,6 @@ class MyDB:
mydb = MyDB('localhost', 'root', 'kfq991122', 'covid19')
results = mydb.get_home_realtime_datas()
print(results)
#mydb = MyDB('localhost', 'root', 'kfq991122', 'covid19')
#results = mydb.get_home_realtime_datas()
#print(results)

Loading…
Cancel
Save