add api.log&errorlog->db

This commit is contained in:
2023-11-19 13:24:29 +09:00
parent 991c8e8083
commit a464297511
5 changed files with 61 additions and 3 deletions

View File

@@ -139,4 +139,9 @@ class Event(Base):
mobile: bool
class Config:
orm_mode = True
orm_mode = True
class ErrorCreate(BaseModel):
location:str
title:str
content:str