You've already forked my-video-workflow
danmakuClip删查改接口,videoClip删除接口
This commit is contained in:
2
app.py
2
app.py
@ -6,6 +6,7 @@ from controller.api.collector_blueprint import blueprint as api_collector_bluepr
|
||||
from controller.api.bilirecorder_blueprint import blueprint as api_bilirecorder_blueprint
|
||||
from controller.api.workflow_blueprint import blueprint as api_workflow_blueprint
|
||||
from controller.api.video_clip_blueprint import blueprint as api_video_clip_blueprint
|
||||
from controller.api.danmaku_clip_blueprint import blueprint as api_danmaku_clip_blueprint
|
||||
from model import db
|
||||
|
||||
app = Flask(__name__)
|
||||
@ -23,6 +24,7 @@ app.register_blueprint(api_collector_blueprint)
|
||||
app.register_blueprint(api_bilirecorder_blueprint)
|
||||
app.register_blueprint(api_workflow_blueprint)
|
||||
app.register_blueprint(api_video_clip_blueprint)
|
||||
app.register_blueprint(api_danmaku_clip_blueprint)
|
||||
with app.app_context():
|
||||
# db.drop_all(app=app)
|
||||
db.create_all(app=app)
|
||||
|
Reference in New Issue
Block a user