From 88360b4ac6f051f62a91e93d602fd393935071ab Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期一, 16 十二月 2024 17:26:11 +0800 Subject: [PATCH] sync data --- app/models/user.py | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/app/models/user.py b/app/models/user.py index ab53067..1d96a23 100644 --- a/app/models/user.py +++ b/app/models/user.py @@ -6,6 +6,7 @@ class UserCreate(BaseModel): username: str password: str + email: Optional[str] = "" # 瀹氫箟璇锋眰浣撴ā鍨� @@ -45,3 +46,10 @@ groups: Optional[list] = [] + +class UserPassword(BaseModel): + # userId: int + newPassword: str + oldPassword: str + + -- Gitblit v1.8.0