diff --git a/src/api/system/pwconfig/index.ts b/src/api/system/pwconfig/index.ts new file mode 100644 index 0000000..df45c39 --- /dev/null +++ b/src/api/system/pwconfig/index.ts @@ -0,0 +1,16 @@ +import request from '/@/utils/request'; + +export function getPwConfig() { + return request({ + url: '/admin-go/api/v1/system/pwconfig/get', + method: 'get', + }); +} + +export function savePwConfig(data: any) { + return request({ + url: '/admin-go/api/v1/system/pwconfig/save', + method: 'post', + data: data, + }); +} diff --git a/src/views/system/pwconfig/index.vue b/src/views/system/pwconfig/index.vue new file mode 100644 index 0000000..c5eaa00 --- /dev/null +++ b/src/views/system/pwconfig/index.vue @@ -0,0 +1,217 @@ + + + + + + 密码策略配置 + + + + + + + + + + 位 + + + + + 位 + + + + + + + + + + + + + + + + + 特殊字符包括:!@#$%^&*()_+-=[]{}|;:,.<>? + + + + + 天(0表示永不过期) + + + + + 次(0表示不限制) + + + + + 次(0表示不锁定) + + + + + 分钟 + + + + + + + + 保存配置 + 重置 + + + + + + + + +