setting.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /**
  2. * 全局变量配置
  3. */
  4. module.exports = {
  5. // 应用名
  6. name: 'shzhjcyjptywxt',
  7. // 应用logo,支持本地路径和网络路径
  8. logo: '/static/images/logo.png',
  9. // 版本号
  10. version: '1.0.17',
  11. // 开发环境接口Url
  12. //devUrl: 'http://127.0.0.1:40004',
  13. devUrl: 'http://111.204.228.227:20002/api',
  14. //devUrl: 'https://nmwx.dahengsi.com:20001/api',
  15. // 线上环境接口Url
  16. //prodUrl: 'http://116.113.33.54:20002/api',
  17. prodUrl: 'http://111.204.228.227:20002/api',
  18. //prodUrl: 'https://nmwx.dahengsi.com:20001/api',
  19. // 后端数据的接收方式application/json;charset=UTF-8或者application/x-www-form-urlencoded;charset=UTF-8
  20. contentType: 'application/json;charset=UTF-8',
  21. // 后端返回状态码
  22. codeName: 'code',
  23. // 操作正常code
  24. successCode: 200,
  25. // 登录失效code
  26. invalidCode: 401,
  27. // 客户端ID
  28. clientId: 'shzhjcyjptywxt',
  29. // 客户端密钥
  30. clientSecret: 'shzhjcyjptywxt_secret_82828800',
  31. //oss: 'http://172.9.0.165:80/oss/galaxy/',
  32. oss: 'http://111.204.228.227:20002/oss/galaxy/',
  33. //oss: 'https://nmwx.dahengsi.com:20001/oss/galaxy/',
  34. img: 'http://111.204.228.227:20002/img/',
  35. }