setting.js 436 B

123456789101112131415
  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://t3.9026.com'
  7. module.exports = {
  8. // 版本
  9. VERSION: '0.0.1',
  10. // API 接口URL
  11. BASE_URL: IS_DEV ? 'https://zhangsiye.9026.com/api' : URL + '/api',
  12. // API 接口URL
  13. IMAGE_URL: IS_DEV ? 'http://www.zsy.me/static/image' : URL + '/static/image'
  14. }