constants.js 556 Bytes
// 缓存get方法为空的默认指定值
export const DEFAULT_GET_STORAGEKEY = ['sessionId', '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',
  sessionId: 'sessionId',
  bindInfo:'bindInfo',
  unauthorized:'unauthorized',
  wx_user_info:'wx_user_info',
  channelSource: 'channelSource'
}

export default{
  DEFAULT_GET_STORAGEKEY,
  STORAGE_OBJECTkEY
}