const SessionKey = 'JSESSIONID' export function getSession() { return uni.getStorageSync(SessionKey) } export function getUserInfo() { return uni.getStorageSync('userInfo') } export function setSession(session) { return uni.setStorageSync(SessionKey, session) } export function removeSession() { return uni.removeStorageSync(SessionKey) }