fix 统一处理db事务回滚

This commit is contained in:
jxxghp
2023-09-05 18:19:02 +08:00
parent 51b959cff8
commit b5fc6cdd1e
6 changed files with 24 additions and 16 deletions

View File

@ -136,4 +136,4 @@ class DownloadFiles(Base):
"state": 0
}
)
db.commit()
Base.commit(db)