const sessionCache = 'vrapile-im-session-cache' const localCache = 'vrapile-im-local-cache' export function getSessionCache() { return uni.getStorageSync(sessionCache) } export function setSessionCache(cache) { return uni.setStorageSync(sessionCache, cache) } export function removeSessionCache() { return uni.removeStorageSync(sessionCache) } export function getLocalCache() { return uni.getStorageSync(localCache) } export function setLocalCache(cache) { return uni.setStorageSync(localCache, cache) } export function removeLocalCache() { return uni.removeStorageSync(localCache) }