const config = { identifier: "frontApp", inlineSiteBaseUrl: 'http://test.dz.jinliyk.com/admin', mathJaxCDN: 'https://mingxuejingbang.oss-cn-beijing.aliyuncs.com/MathJaxFiles/3.2.0/es5/tex-svg-full.js' }; if (process.env.NODE_ENV === "development") { config.serverBaseUrl = "http://test.dz.jinliyk.com/prod-api"; config.paySiteUrl = 'http://test.dz.jinliyk.com/h5'; config.responseErrorCatch = true; // API 返回错误时,是否控制台打印 } else { config.serverBaseUrl = "http://test.dz.jinliyk.com/prod-api"; config.paySiteUrl = 'http://test.dz.jinliyk.com/h5'; config.responseErrorCatch = true; } export default config;