Merge branch 'develop' of http://47.106.207.27:3000/AI260626/Mutual_Fund into develop_feat_apizyc
# Conflicts: # api/router.py # logs/error.log # logs/info.log # model/fin_customer_profile.py # requirements.txt
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