fix: 无水印配置报错异常

This commit is contained in:
TheSmallHanCat
2026-01-17 13:17:52 +08:00
parent 881366175f
commit 0cc1c2e32d

View File

@@ -147,6 +147,7 @@ class UpdateWatermarkFreeConfigRequest(BaseModel):
watermark_free_enabled: bool watermark_free_enabled: bool
parse_method: Optional[str] = "third_party" # "third_party" or "custom" parse_method: Optional[str] = "third_party" # "third_party" or "custom"
custom_parse_url: Optional[str] = None custom_parse_url: Optional[str] = None
custom_parse_token: Optional[str] = None
class BatchDisableRequest(BaseModel): class BatchDisableRequest(BaseModel):
token_ids: List[int] token_ids: List[int]