新增neutrino-proxy-admin项目

This commit is contained in:
aoshiguchen
2022-07-23 13:47:10 +08:00
parent dfa5a61258
commit 770f67321c
240 changed files with 21298 additions and 4 deletions
+15
View File
@@ -0,0 +1,15 @@
import Cookies from 'js-cookie'
const TokenKey = 'Admin-Token'
export function getToken() {
return Cookies.get(TokenKey)
}
export function setToken(token) {
return Cookies.set(TokenKey, token)
}
export function removeToken() {
return Cookies.remove(TokenKey)
}