From fc0646f5a7d8ff66470fc3228ac7cff24497d54c Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期五, 22 八月 2025 17:30:30 +0800
Subject: [PATCH] 添加蓉政通登陆接口

---
 src/utils/auth.ts |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/utils/auth.ts b/src/utils/auth.ts
index db50ac9..5878c88 100644
--- a/src/utils/auth.ts
+++ b/src/utils/auth.ts
@@ -1,9 +1,18 @@
 const TokenKey = 'Admin-Token';
+const PlatKey = 'Admin-Plat';
 
 const tokenStorage = useStorage<null | string>(TokenKey, null);
+const platStorage = useStorage<null | string>(PlatKey, null);
 
 export const getToken = () => tokenStorage.value;
 
 export const setToken = (access_token: string) => (tokenStorage.value = access_token);
 
 export const removeToken = () => (tokenStorage.value = null);
+
+
+export const getPlat = () => platStorage.value;
+
+export const setPlat = (access_plat: string) => (platStorage.value = access_plat);
+
+export const removePlat = () => (platStorage.value = null);
\ No newline at end of file

--
Gitblit v1.8.0