From 44f7185c6712ac9d9876133aa20c16aded579ae2 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期一, 17 三月 2025 14:03:37 +0800
Subject: [PATCH] 浪潮单点登录

---
 src/api/login.js |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/src/api/login.js b/src/api/login.js
index 2635b7f..b527334 100644
--- a/src/api/login.js
+++ b/src/api/login.js
@@ -78,4 +78,16 @@
     method: 'get',
     timeout: 20000
   })
-}
\ No newline at end of file
+}
+
+export function tideLogin(code) {
+  return request({
+    url: '/tide/tideLogin',
+    headers: {
+      isToken: false,
+      repeatSubmit: false
+    },
+    method: 'post',
+    data: code
+  })
+}

--
Gitblit v1.9.3