mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 05:02:49 +00:00
* Update user and login security configs * Optimize some code definitions * Update config comments * Update the captcha check * Update the config plugin sql scripts * Add user password history model to init * Fix some logic errors * Add last_password_changed_time to user sql * Fix user update password * Fix the dynamic config check * Update the user sql style
13 lines
362 B
Python
13 lines
362 B
Python
from pydantic import Field
|
|
|
|
from backend.common.schema import SchemaBase
|
|
|
|
|
|
class GetCaptchaDetail(SchemaBase):
|
|
"""验证码详情"""
|
|
|
|
is_enabled: bool = Field(description='是否启用')
|
|
expire_seconds: int = Field(description='过期秒数')
|
|
uuid: str = Field(description='图片唯一标识')
|
|
image: str = Field(description='图片内容')
|