敏感信息加密

This commit is contained in:
DESKTOP-6C3NK6N\WXS
2024-09-19 16:17:01 +08:00
parent d7b11c02e5
commit b3ba7e7e40
5 changed files with 81 additions and 4 deletions
+9 -1
View File
@@ -4,7 +4,8 @@ export function login(data) {
return request({
url: '/user/login',
method: 'post',
data
data,
ENCRYPT: true
})
}
export function loginOut(params) {
@@ -185,3 +186,10 @@ export function sendMFAEmail(params) {
params
})
}
// 获取公钥
export function getPublicKey() {
return request({
url: `/user/getPublicKey`,
method: 'get',
})
}