config.js 472 B

1234567891011121314151617
  1. export let baseURL = '/api'
  2. let serverURL = ''
  3. if (process.env.NODE_ENV === 'development') {
  4. // serverURL = 'http://duobao.meikangjw.com' // 正式
  5. serverURL = 'http://db.mp.dongerkj.com' // 测试
  6. // serverURL = 'http://db.ylshuzi.com'
  7. } else {
  8. // serverURL = 'http://duobao.meikangjw.com' // 正式
  9. serverURL = 'http://db.mp.dongerkj.com' // 测试
  10. // serverURL = 'http://db.ylshuzi.com'
  11. }
  12. // #ifndef H5
  13. baseURL = serverURL + baseURL
  14. // #endif