export default {
  userInfo: state => state.app.userInfo || {},
  token: state => state.app.token,
  uid: state => state.app.uid,
  isLogin: state => !!state.app.token,
  inviteCode: state => state.app.userInfo.distribution_code || "",
  appConfig: state => state.app.config,
  sysInfo: state => state.app.sysInfo
};
