From c1e2ec17485606ba8d2d6de9520396e55248ff6d Mon Sep 17 00:00:00 2001
From: web <candymxq888@outlook.com>
Date: 星期二, 25 三月 2025 17:10:50 +0800
Subject: [PATCH] feat:添加界面,接入设备数据

---
 src/utils/auth.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/utils/auth.js b/src/utils/auth.js
index 069f714..f275077 100644
--- a/src/utils/auth.js
+++ b/src/utils/auth.js
@@ -7,7 +7,6 @@
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  */
 export function getToken() {
-  
   return localStorage.getItem('token')
 }
 
@@ -18,3 +17,7 @@
 export function removeToken() {
   return localStorage.removeItem('token')   
 }
+
+export function getUserType() {
+  return localStorage.getItem('userType')
+}
\ No newline at end of file

--
Gitblit v1.9.3