关联关系

This commit is contained in:
2022-04-15 14:49:39 +08:00
parent e72eeb1f0e
commit 900b1bd614
3 changed files with 6 additions and 18 deletions

4
app.py
View File

@ -1,5 +1,5 @@
from flask import Flask
from config import load_config, WEB_HOST, WEB_PORT
from config import load_config
from controller.view.main_blueprint import blueprint as view_main_blueprint
from controller.api.config_blueprint import blueprint as api_config_blueprint
from controller.api.collector_blueprint import blueprint as api_collector_blueprint
@ -27,4 +27,4 @@ with app.app_context():
db.create_all(app=app)
if __name__ == '__main__':
app.run(WEB_HOST, WEB_PORT)
app.run()