You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
730 B

3 years ago
const mode = 'production'; //devLocal:本地测试、devOnline:线上测试、production:生产环境
7 months ago
// let ROOTPATH = 'https://h5.jscnsaas.cn';
1 year ago
// let ROOTPATH = 'https://vr.langye.net';
7 months ago
let ROOTPATH = "https://jscnsaas.115.langye.net"
3 years ago
switch (mode) {
case 'devLocal':
1 year ago
ROOTPATH = ROOTPATH
3 years ago
break;
case 'devOnline':
1 year ago
ROOTPATH = ROOTPATH
3 years ago
break;
case 'production':
1 year ago
ROOTPATH = ROOTPATH
3 years ago
break;
default:
throw new Error('未配置环境');
console.log(`未配置环境`);
}
// 微信配置
const WECHAT_APPID = 'wx3ff67f2e2b0c62ca' // 从manifest.json中获取的appid
4 months ago
// 天地图(H5 首页地图)
const TIANDITU_TK = '0c86c1c69a09ecaa5e9b3d0373fb67bf'
export { ROOTPATH, WECHAT_APPID, TIANDITU_TK }