Add notification sender and update item routes

This commit is contained in:
2025-10-06 01:03:52 +08:00
parent cd35c6fbed
commit a71cde7b82
12 changed files with 243 additions and 107 deletions

View File

@@ -1,10 +1,11 @@
from datetime import datetime
from pydantic import BaseModel
from model.base import SQLModelBase
class DefaultResponse(BaseModel):
code: int = 0
data: dict | list | bool | None
data: dict | list | bool | SQLModelBase | None = None
msg: str = ""
# FastAPI 鉴权返回模型