const getters = {
  token: state => state.user.token,
  code2: state => state.user.code2,
  appId: state => state.user.appId,
  openId: state => state.user.openId,
  name: state => state.user.name,
  avatar: state => state.user.avatar,
  userId: state => state.user.userId,
  mobile: state => state.user.mobile,
  city: state => state.user.city,
  province: state => state.user.province,
  crossPagePam: state => state.user.crossPagePam,
  miniOpenId: state => state.user.miniOpenId,
  sharerOpenId: state => state.user.sharerOpenId
}

export default getters
