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 |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ruoyi-ui/src/api/login.js b/ruoyi-ui/src/api/login.js
index 649f59c..3363f05 100644
--- a/ruoyi-ui/src/api/login.js
+++ b/ruoyi-ui/src/api/login.js
@@ -1,13 +1,16 @@
 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
   }
+
+
   return request({
     url: '/login',
     headers: {
@@ -48,6 +51,7 @@
 
 // 鑾峰彇楠岃瘉鐮�
 export function getCodeImg() {
+
   return request({
     url: '/captchaImage',
     headers: {
@@ -56,4 +60,4 @@
     method: 'get',
     timeout: 20000
   })
-}
\ No newline at end of file
+}

--
Gitblit v1.9.1