This commit is contained in:
jxxghp
2023-06-28 12:49:38 +08:00
parent cbbec6af7d
commit 0c2de23735
2 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class TransferHistory(Base):
# 转移失败信息
errmsg = Column(String)
# 时间
date = Column(String, index=True, default=time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()))
date = Column(String, index=True)
@staticmethod
def list_by_title(db: Session, title: str, page: int = 1, count: int = 30):