zhaoqingang
2025-01-10 ef5c7cb5aa828890148148fe53fc85108f3e79c7
app/models/user.py
@@ -46,3 +46,15 @@
    groups: Optional[list] = []
class UserPassword(BaseModel):
    # userId: int
    newPassword: str
    oldPassword: str
class UserDept(BaseModel):
    userId: int
    depts: list