/*
 * @Author: 吴文洁
 * @Date: 2020-08-20 09:21:40
 * @LastEditors: zhangleyuan
 * @LastEditTime: 2020-12-25 18:27:16
 * @Description: 
 * @Copyright: 杭州杰竞科技有限公司 版权所有
 */
import { MapInterface } from '@/domains/basic-domain/interface'
const ENV: string = process.env.DEPLOY_ENV || 'dev';

const appIdMap: MapInterface = {
  dev: 'wx3ea60e78ddfa277e',
  dev1: 'wx3ea60e78ddfa277e',
  rc: 'wx5c5a1fb71ecab7bc',
  gray: "wxdd6b458500d4c224", // 小麦校讯通
  prod: 'wxdd6b458500d4c224'
}

const shareUrlMap: MapInterface = {
  'dev': 'https://dev.xiaomai5.com/share/show?appid=',
  'dev1': 'https://dev.xiaomai5.com/share/show?appid=',
  'rc': 'https://rc.xiaomai5.com/share/show?appid=',
  'prod': 'https://prod.xiaomai5.com/share/show?appid=',
  'gray': 'https://prod.xiaomai5.com/share/show?appid='
}

 const LIVE_SHARE_MAP: MapInterface = {
  dev: 'https://dev.xiaomai5.com/xiaomai-live-share/index.html#/',
  dev1: 'https://dev.xiaomai5.com/xiaomai-live-share/index.html#/',
  rc: 'https://rc.xiaomai5.com/xiaomai-live-share/index.html#/',
  gray: 'https://res.xiaomai5.com/xiaomai-live-share/gray/index.html#/',
  prod: 'https://res.xiaomai5.com/xiaomai-live-share/index.html#/',
}

export const appId: string = appIdMap[ENV];
export const shareUrl: string = shareUrlMap[ENV];
export const LIVE_SHARE: string = LIVE_SHARE_MAP[ENV];
