import { getCookie, setCookie, removeCookie } from './util.cookies.js' const TOKEN_KEY = 'token' /** * 获取tonken */ export function getToken() { return getCookie(TOKEN_KEY) } export function setToken(token, optins) { return setCookie(TOKEN_KEY, token, optins) } export function removeToken() { return removeCookie(TOKEN_KEY) }