From be4c17512fe93511c21939d594c843b9594b1549 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期四, 29 八月 2024 22:51:39 +0800 Subject: [PATCH] 修改成昵称登录了 --- ruoyi-ui/src/api/login.js | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/api/login.js b/ruoyi-ui/src/api/login.js index 4086507..3363f05 100644 --- a/ruoyi-ui/src/api/login.js +++ b/ruoyi-ui/src/api/login.js @@ -1,9 +1,10 @@ import request from '@/utils/request' // 鐧诲綍鏂规硶 -export function login(username, password, code, uuid) { +export function login(nickname, password, code, uuid) { + alert(nickname) const data = { - username, + nickname, password, code, uuid @@ -50,7 +51,7 @@ // 鑾峰彇楠岃瘉鐮� export function getCodeImg() { - console.log("-----") + return request({ url: '/captchaImage', headers: { -- Gitblit v1.9.1