perf: 同步近期修改

This commit is contained in:
2025-02-21 02:38:30 +08:00
parent d5e0f9d5ac
commit 003e7b8742
8 changed files with 162 additions and 23 deletions

View File

@@ -117,15 +117,13 @@ class GetCaptchaResult(BaseModel):
uuid: Optional[str] = Field(default=None, description="验证码UUID")
captcha: Optional[str] = Field(default=None, description="验证码图片")
captcha_enabled: Optional[bool] = Field(default=False, description="是否开启验证码")
register_enabled: Optional[bool] = Field(default=False, description="是否开启注册")
class Config:
json_schema_extra = {
"example": {
"uuid": "1234567890",
"captcha": "base64编码的图片",
"captcha_enabled": True,
"register_enabled": True
"captcha_enabled": True
}
}