
/**
 * 说明：应用静态配置
 */
export default {
  version: '1.2.4',
  buildTime: (globalThis as any).__BUILD_TIMESTAMP__ as number,
  buildInfo: (globalThis as any).__BUILD_GUID__ as string,
  appId: 'wx1845c7dab9e8b236',
  defaultLonLat: [ 118.161270, 24.529196 ],
  defaultImage: 'https://mncdn.wenlvti.net/app_static/minnan/EmptyImage.png',
  shareTitle: '',
}
//#ifdef MP-WEIXIN
const accountInfo = uni.getAccountInfoSync();
//#endif
//#ifndef MP-WEIXIN
const accountInfo = {
  miniProgram: {
    envVersion: '',
  },
};
//#endif

/**
 * 获取当前环境版本
 */
export const envVersion = accountInfo.miniProgram.envVersion;
/**
 * 获取当前环境是否为测试环境
 */
export const isTestEnv = envVersion === 'develop' || envVersion === 'trial';
/**
 * 获取当前环境是否为开发环境
 */
export const isDev = envVersion === 'develop';