v0.7.1测试

This commit is contained in:
canglan committed 2026-04-15 10:16:22 +08:00
1 parent 637f3b665d
commit 3ba87367df
5 files changed
+22 -7

No files matched your search

+2 -1
View File
@@ -33,8 +33,9 @@ class LoginResponse(BaseModel):
class ChangePasswordRequest(BaseModel):
"""修改密码请求"""
old_password: str = Field(..., min_length=1, max_length=50, description="原密码")
old_password: str = Field(default="", max_length=50, description="原密码")
new_password: str = Field(..., min_length=6, max_length=20, description="新密码")
force: bool = Field(default=False, description="是否强制修改(首次登录)")
class ChangePasswordResponse(BaseModel):