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.

24 lines
627 B

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