feat:新增基金产品列表接口,历史业绩接口,客户注册提交接口,问卷提交接口
This commit is contained in:
+8
-1
@@ -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)
|
||||
Reference in New Issue
Block a user