From 93f9d6fc8738c579cb815084654f6663debd80ae Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 15 十一月 2024 15:51:59 +0800
Subject: [PATCH] 对话列表过滤name空数据
---
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