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