From fcff9dfdea35b2561afce27e5d2013dbd7e79fa2 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Mon, 08 Jul 2024 16:57:25 +0800
Subject: [PATCH] 修改时间范围日期格式
---
ruoyi-ui/src/api/login.js | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/ruoyi-ui/src/api/login.js b/ruoyi-ui/src/api/login.js
index f3c721a..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,10 @@
export function getCodeImg() {
return request({
url: '/code',
- method: 'get'
+ headers: {
+ isToken: false
+ },
+ method: 'get',
+ timeout: 20000
})
}
\ No newline at end of file
--
Gitblit v1.9.3