密码修改

main
gzy 3 months ago
parent bce113666c
commit 07298bf405

@ -1,10 +1,12 @@
import request from '@/utils/request' import request from '@/utils/request'
import {encrypt} from "@/utils/jsencrypt";
// 登录方法 // 登录方法
export function login(username, password, captchaCode, uuid) { export function login(username, password, captchaCode, uuid) {
let newPassword = encrypt(password)
const data = { const data = {
username, username,
password, newPassword,
captchaCode, captchaCode,
uuid uuid
} }

Loading…
Cancel
Save