This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
const mode = 'production'; //devLocal:本地测试、devOnline:线上测试、production:生产环境
let ROOTPATH = ''; //域名
// 本地开发时连接本机 Laravel 后端;真机调试需要改成局域网 IP 或可访问的 HTTPS 地址。
//let baseUrl = "http://127.0.0.1:8001"
let baseUrl = "https://wx.sstbc.com"
// let baseUrl = "https://suzhoukeji-test.ali251.langye.net"
switch (mode) {
case 'devLocal':
ROOTPATH = baseUrl
break;
case 'devOnline':
case 'production':
default:
throw new Error('未配置环境');
console.log(`未配置环境`);
}
export { ROOTPATH }