This commit is contained in:
qsh
2024-11-20 16:05:52 +08:00
parent b09ba1547c
commit beb12193b3
2 changed files with 49 additions and 12 deletions

View File

@@ -12,9 +12,11 @@ export interface UserVO {
avatar: string
loginIp: string
status: number
inUse: number
remark: string
loginDate: Date
createTime: Date
retireDate: string
}
// 查询用户管理列表
@@ -62,11 +64,12 @@ export const resetUserPwd = (id: number, password: string) => {
}
// 用户状态修改
export const updateUserStatus = (id: number, status: number, retireDate: string) => {
export const updateUserStatus = (id: number, status: number, retireDate: string, inUse: number) => {
const data = {
id,
status,
retireDate
retireDate,
inUse
}
return request.put({ url: '/admin-api/system/user/update-status', data: data })
}