fix:密码加密

dev
wangxy 11 months ago
parent 86c2177602
commit f6bccff7c7

@ -1,7 +1,9 @@
import request from '@/utils/request' import request from '@/utils/request'
import { encrypt } from '@/utils/jsencrypt'
// 登录方法 // 登录方法
export function login(username, password, code) { export function login(username, password, code) {
password = encrypt(password);
const data = { const data = {
username, username,
password, password,

Loading…
Cancel
Save