config.js 566 B

12345678910111213141516171819
  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://test.fudaiduobao.com'
  7. serverURL = 'http://db.ylshuzi.com'
  8. } else {
  9. // serverURL = 'http://duobao.meikangjw.com' // 正式
  10. // serverURL = 'http://db.mp.dongerkj.com' // 测试
  11. // serverURL = 'http://test.fudaiduobao.com'
  12. serverURL = 'http://db.ylshuzi.com'
  13. }
  14. // #ifndef H5
  15. baseURL = serverURL + baseURL
  16. // #endif