fix schemas

This commit is contained in:
jxxghp
2023-07-01 22:13:40 +08:00
parent 8f8ad7ccd4
commit 09c84d021d
4 changed files with 13 additions and 12 deletions

View File

@ -5,13 +5,13 @@ from pydantic import BaseModel
class Site(BaseModel):
# ID
id: int
id: Optional[int]
# 站点名称
name: str
name: Optional[str]
# 站点主域名Key
domain: str
domain: Optional[str]
# 站点地址
url: str
url: Optional[str]
# 站点优先级
pri: Optional[int] = 0
# RSS地址