feat: 登录时,对用户名密码加密

This commit is contained in:
taojinlong
2021-10-25 15:36:51 +08:00
parent 042f447286
commit 1ef965357d
8 changed files with 35 additions and 253 deletions

View File

@@ -71,3 +71,10 @@ export function pluginLoaded() {
method: 'post'
})
}
export function getPublicKey() {
return request({
url: '/api/auth/getPublicKey',
method: 'get'
})
}