From a6bcebb62bebe88b256e2e42231e1bd7253f45ae Mon Sep 17 00:00:00 2001
From: 若依 <yzz_ivy@163.com>
Date: Mon, 10 Mar 2025 11:45:34 +0800
Subject: [PATCH] !397 修复actuator暴漏问题 Merge pull request !397 from 威士忌的纯度/N/A

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

diff --git a/ruoyi-ui/src/api/login.js b/ruoyi-ui/src/api/login.js
index 74ed95e..50d8623 100644
--- a/ruoyi-ui/src/api/login.js
+++ b/ruoyi-ui/src/api/login.js
@@ -4,6 +4,10 @@
 export function login(username, password, code, uuid) {
   return request({
     url: '/auth/login',
+    headers: {
+      isToken: false,
+      repeatSubmit: false
+    },
     method: 'post',
     data: { username, password, code, uuid }
   })
@@ -49,6 +53,9 @@
 export function getCodeImg() {
   return request({
     url: '/code',
+    headers: {
+      isToken: false
+    },
     method: 'get',
     timeout: 20000
   })

--
Gitblit v1.9.3