setting.js 469 B

12345678910111213141516
  1. /**
  2. * Created by JianJia.Zhou<jianjia.zhou> on 2022/3/18.
  3. */
  4. const IS_DEV = process.env.NODE_ENV === 'development'
  5. // const URL = 'https://zhangsiye.9026.com'
  6. const URL = 'https://t9.9026.com'
  7. // const URL = 'https://ihg.9026.com'
  8. module.exports = {
  9. // 版本
  10. VERSION: '0.0.1',
  11. // API 接口URL
  12. BASE_URL: IS_DEV ? 'https://t9.9026.com/api' : URL + '/api',
  13. // API 接口URL
  14. IMAGE_URL: IS_DEV ? 'https://t9.9026.com/static/image' : URL + '/static/image'
  15. }