fix: 修复动态路由问题

This commit is contained in:
2025-02-21 02:25:01 +08:00
parent 6a6b2b0827
commit d5e0f9d5ac
6 changed files with 29 additions and 9 deletions

View File

@@ -117,13 +117,15 @@ 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
"captcha_enabled": True,
"register_enabled": True
}
}