feat:新增基金产品列表接口,历史业绩接口,客户注册提交接口,问卷提交接口

This commit is contained in:
2026-09-10 23:15:37 +08:00
parent bd7adfd919
commit 0a2f0cb146
11 changed files with 1767 additions and 22 deletions
+8 -1
View File
@@ -4,4 +4,11 @@ from pydantic import BaseModel, Field
class LoginReq(BaseModel):
username: str = Field(min_length=1, max_length=64)
password: str = Field(min_length=1, max_length=128)
password: str = Field(min_length=1, max_length=128)
class RegisterReq(BaseModel):
username: str = Field(min_length=1, max_length=64)
password: str = Field(min_length=8, max_length=128, description="密码至少 8 位")
phone: str = Field(pattern=r"^1\d{10}$", description="11 位手机号")
real_name: str | None = Field(default=None, max_length=32)