Refactor workflow sharing with independent config and improved data access

Co-authored-by: jxxghp <jxxghp@163.com>
This commit is contained in:
Cursor Agent
2025-07-08 15:33:43 +00:00
parent a2fd3a8d90
commit b8ee777fd2
6 changed files with 61 additions and 33 deletions

View File

@@ -37,6 +37,11 @@ class Workflow(Base):
# 最后执行时间
last_time = Column(String)
@staticmethod
@db_query
def list(db):
return db.query(Workflow).all()
@staticmethod
@db_query
def get_enabled_workflows(db):