代码提交

This commit is contained in:
stt
2025-10-11 09:45:25 +08:00
parent e7f7c8b537
commit ccf3bf27f4
10 changed files with 1524 additions and 0 deletions

26
src/api/admin/user.js Normal file
View File

@@ -0,0 +1,26 @@
import createAxios from '@/utils/request'
// 密码规则修改
export function ruleUpdate(data) {
return createAxios({
url: '/user-boot/password/ruleUpdate',
method: 'post',
data
})
}
// 获取密码规则
export function getRule(data) {
return createAxios({
url: '/user-boot/password/getRule',
method: 'post',
data
})
}
// 解锁超级管理员
export function unlockRoot(data) {
return createAxios({
url: '/user-boot/password/unlockRoot',
method: 'post',
data
})
}