config.ts 1.0 KB

12345678910111213141516171819202122232425
  1. const config = {
  2. identifier: "frontApp",
  3. inlineSiteBaseUrl: 'https://www.dz1kt.com/admin',
  4. mathJaxCDN: 'https://mingxuejingbang.oss-cn-beijing.aliyuncs.com/MathJaxFiles/3.2.0/es5/tex-svg-full.js',
  5. ossUrl: 'https://mingxuejingbang.oss-cn-beijing.aliyuncs.com/ie/iePlus/appIcon',
  6. serverBaseUrl: '',
  7. paySiteUrl: '',
  8. responseErrorCatch: true,
  9. };
  10. if (process.env.NODE_ENV === "development") {
  11. // config.serverBaseUrl = "https://ieh5.jinlizhiyuan.com/prod-api";
  12. // config.serverBaseUrl = "https://www.dz1kt.com/admin/prod-api";
  13. config.serverBaseUrl = "https://dz.shineking.top/prod-api";
  14. config.paySiteUrl = 'https://www.dz1kt.com/h5';
  15. config.responseErrorCatch = true; // API 返回错误时,是否控制台打印
  16. } else {
  17. // config.serverBaseUrl = "https://ieh5.jinlizhiyuan.com/prod-api";
  18. config.serverBaseUrl = "https://www.dz1kt.com/admin/prod-api";
  19. // config.serverBaseUrl = "https://dz.shineking.top/prod-api";
  20. config.paySiteUrl = 'https://www.dz1kt.com/h5';
  21. config.responseErrorCatch = true;
  22. }
  23. export default config;