登录请求params更换为data,防止暴露url

This commit is contained in:
RuoYi
2020-04-01 14:01:31 +08:00
parent 8a394f0363
commit ec65b1f7ec
3 changed files with 75 additions and 3 deletions

View File

@ -11,7 +11,7 @@ export function login(username, password, code, uuid) {
return request({
url: '/login',
method: 'post',
params: data
data: data
})
}