From 159fafce5c16df95e6782b60bd644b71701acd32 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 14 六月 2022 16:11:49 +0800
Subject: [PATCH] 1.页面可调用接口登录

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

diff --git a/src/utils/auth.js b/src/utils/auth.js
index 059af18..a137df1 100644
--- a/src/utils/auth.js
+++ b/src/utils/auth.js
@@ -13,3 +13,15 @@
 export function removeToken() {
   return Cookies.remove(TokenKey)
 }
+
+export function getCookie(key) {
+  return Cookies.get(key)
+}
+
+export function setCookie(key, value) {
+  return Cookies.set(key, value)
+}
+
+export function removeCookie(key) {
+  return Cookies.remove(key)
+}

--
Gitblit v1.9.3