constants.js
546 Bytes
// 缓存get方法为空的默认指定值
export const DEFAULT_GET_STORAGEKEY = ['token', 'merchantId', 'userInfo']
// 缓存get方法key的对应才映射值
export const STORAGE_OBJECTkEY = {
system_info: 'system_info',
mock_data: 'mock_data',
merchant_info: 'merchant_info',
address_info: 'address_info',
userInfo: 'userInfo',
token: 'token',
bindInfo:'bindInfo',
unauthorized:'unauthorized',
wx_user_info:'wx_user_info',
eventRecordList:'eventRecordList'
}
export default{
DEFAULT_GET_STORAGEKEY,
STORAGE_OBJECTkEY
}