补齐头部用户下拉功能
Some checks failed
Release pipeline / publish (push) Has been cancelled
Release pipeline / Always run job (push) Has been cancelled

This commit is contained in:
sheng
2026-06-25 10:25:42 +08:00
parent 46ef776d74
commit 659f000bf6
5 changed files with 385 additions and 10 deletions

View File

@@ -31,3 +31,38 @@ export function logoutAdminUser () {
}
})
}
export function getAuthTime (data) {
return request({
url: 'auth/get/time',
method: 'post',
data: {
method: 'get.auth.time',
platform: 'admin',
...data
}
})
}
export function getAuthNearTime (data) {
return request({
url: 'auth/get/nearTime',
method: 'post',
data: {
method: 'get.auth.nearTime',
platform: 'admin',
...data
}
})
}
export function getAuthTimeByUpload (data) {
return request({
url: 'auth/get/timeByUpload',
method: 'post',
headers: {
'Content-Type': 'multipart/form-data'
},
data
})
}

View File

@@ -97,3 +97,15 @@ export function resetUserPwd (data) {
}
})
}
export function updateUserPwd (data) {
return request({
url: BASE + 'update_pwd',
method: 'put',
data: {
method: 'system_settings_user_management_user_update_pwd',
platform: 'background',
...data
}
})
}