setting.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * 全局变量配置
  3. */
  4. module.exports = {
  5. // 应用名
  6. name: 'tscloudywxtxjgd',
  7. // 应用logo,支持本地路径和网络路径
  8. logo: '/static/images/logo.png',
  9. //租户ID
  10. tenantId: '727181',
  11. // 版本号
  12. version: '1.0.0',
  13. // 客户端类型
  14. userType: 'app',
  15. // 开发环境接口Url
  16. devUrl: 'http://127.0.0.1:50004',
  17. // 生产环境
  18. // oss: 'https://wx.dahengsi.com:30001/oss/galaxy/',
  19. // imgPath: 'https://wx.dahengsi.com:30001/img/',
  20. // prodUrl: 'https://wx.dahengsi.com:30001/api',
  21. // 测试环境
  22. oss: 'https://wx.dahengsi.com:44301/oss/galaxy/',
  23. imgPath: 'https://wx.dahengsi.com:44301/img/',
  24. prodUrl: 'https://wx.dahengsi.com:44301/api',
  25. // 后端数据的接收方式application/json;charset=UTF-8或者application/x-www-form-urlencoded;charset=UTF-8
  26. contentType: 'application/json;charset=UTF-8',
  27. // 后端返回状态码
  28. codeName: 'code',
  29. // 操作正常code
  30. successCode: 200,
  31. // 登录失效code
  32. invalidCode: 401,
  33. // 客户端ID
  34. clientId: 'tscloudywxt_app_xjgd',
  35. // 客户端密钥
  36. clientSecret: 'tscloudywxt_app_xjgd_secret_82828800',
  37. }