feat: 添加用户资料中的邮箱和地址字段,并更新相关接口和页面

This commit is contained in:
2026-05-29 01:59:05 +08:00
parent 201f80811a
commit a8409ad76b
6 changed files with 111 additions and 42 deletions

View File

@@ -21,6 +21,8 @@ class User(Document):
name: str = ""
phone: Optional[str] = None
age: Optional[int] = None
email: str = ""
address: str = ""
height: Optional[float] = None # cm
pre_pregnancy_weight: Optional[float] = None # kg
current_weight: Optional[float] = None # kg