|
@@ -1,6 +1,6 @@
|
|
import Cookies from 'js-cookie'
|
|
import Cookies from 'js-cookie'
|
|
|
|
|
|
-const TokenKey = 'Admin-Token'
|
|
|
|
|
|
+const TokenKey = 'Dms-Admin-Token'
|
|
|
|
|
|
export function getToken() {
|
|
export function getToken() {
|
|
return Cookies.get(TokenKey)
|
|
return Cookies.get(TokenKey)
|
|
@@ -15,7 +15,7 @@ export function removeToken() {
|
|
}
|
|
}
|
|
|
|
|
|
/** tentant 缓存 */
|
|
/** tentant 缓存 */
|
|
-const TenantKey = 'Tenant-Key'
|
|
|
|
|
|
+const TenantKey = 'Dms-Tenant-Key'
|
|
|
|
|
|
export function getTenant() {
|
|
export function getTenant() {
|
|
const cookieTenant = Cookies.get(TenantKey)
|
|
const cookieTenant = Cookies.get(TenantKey)
|