增删改查完成

This commit is contained in:
wkc
2026-01-20 11:20:39 +08:00
commit b6443ba07f
651 changed files with 71574 additions and 0 deletions

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)
}