This commit is contained in:
2026-04-28 18:13:44 +08:00
parent 0817e73dc4
commit 69b25d2625
7 changed files with 214 additions and 2 deletions
+5
View File
@@ -16,6 +16,11 @@ export const authApi = {
return api.post('/users/getinfo', {})
},
/** 获取系统管理员列表(仅管理员可访问) */
sysAdmins() {
return api.post('/users/sysadmins', {})
},
/** 修改密码 */
changePassword(oldPass, newPass) {
return api.post('/users/changePassword', { oldpass: oldPass, newpass: newPass })