From 28f41fceef54144cf87eaedd18d09a5a8b9cd5e1 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期三, 27 十一月 2024 09:40:58 +0800 Subject: [PATCH] dify 多次对话问题 --- app/models/user.py | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/app/models/user.py b/app/models/user.py index 45874f7..ab53067 100644 --- a/app/models/user.py +++ b/app/models/user.py @@ -27,4 +27,21 @@ class PageParameter(BaseModel): page_index: int page_size: int - keyword: Optional[str] = "" \ No newline at end of file + keyword: Optional[str] = "" + +class UserStatus(BaseModel): + userId: int + status: Optional[str] = "" + pwd: Optional[str] = "" + +class UserInfo(BaseModel): + userId: Optional[int] = 0 + userName: Optional[str] = "" + loginName: Optional[str] = "" + phone: Optional[str] = "" + pwd: Optional[str] = "" + email: str + roles: list + groups: Optional[list] = [] + + -- Gitblit v1.8.0