From d7f140b91b514c9ed36361552c2c627730f086d0 Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期日, 02 四月 2023 13:50:47 +0800
Subject: [PATCH] 4.2

---
 ruoyi-ui/src/api/login.js |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/ruoyi-ui/src/api/login.js b/ruoyi-ui/src/api/login.js
index 649f59c..06c8b1b 100644
--- a/ruoyi-ui/src/api/login.js
+++ b/ruoyi-ui/src/api/login.js
@@ -8,6 +8,8 @@
     code,
     uuid
   }
+
+
   return request({
     url: '/login',
     headers: {
@@ -48,6 +50,19 @@
 
 // 鑾峰彇楠岃瘉鐮�
 export function getCodeImg() {
+  console.log("-----")
+  return request({
+    url: '/captchaImage',
+    headers: {
+      isToken: false
+    },
+    method: 'get',
+    timeout: 20000
+  })
+}
+
+// 鑾峰彇楠岃瘉鐮�
+export function getCodeImg() {
   return request({
     url: '/captchaImage',
     headers: {

--
Gitblit v1.9.1