From c795d4b39ce86ad9b502044d96df9392c0c7dca7 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期一, 25 十一月 2024 17:39:56 +0800 Subject: [PATCH] ragflow和bisheng的会话时间统一 --- 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