config.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. import manifest from './manifest.json'
  2. // 应用全局配置
  3. export default {
  4. ip: "192.168.10.165:9300",
  5. //#ifdef APP-PLUS || MP-WEIXIN
  6. baseUrl: "https://gateWay.usky.cn/prod-api",
  7. //#endif
  8. //#ifdef H5
  9. baseUrl: import.meta.env.MODE === "production" ? `https://${window.location.host}/prod-api` : `http://192.168.10.165:801/dev-api`,
  10. //#endif
  11. websiteUrl: "https://qhome.usky.cn",
  12. // 应用信息
  13. appInfo: {
  14. // 应用id
  15. appid: manifest.appid,
  16. // 应用名称
  17. name: manifest.name,
  18. // 应用版本
  19. version: uni.getSystemInfoSync().appWgtVersion || uni.getSystemInfoSync().appVersion,
  20. // 应用logo
  21. logo: "/static/logo.png",
  22. // 官网邮箱
  23. email: "admin@chinausky.com",
  24. // 服务热线
  25. hotline: "021-65376655",
  26. // 官方网站
  27. site_url: "http://www.usky.cn/",
  28. // 版权
  29. copyright: "Copyright © 2021- 2025 Usky. All Rights Reserved. 永天股份 版权所有",
  30. // 备案编号
  31. filingInfo: {
  32. code: "ICP备案号:沪ICP备09005762号-15A",
  33. href: "https://beian.miit.gov.cn/#/Integrated/index"
  34. },
  35. // 政策协议
  36. agreements: [
  37. {
  38. title: "用户服务协议",
  39. content: "暂无数据",
  40. url: "http://file.usky.cn/uskycloud/user_protocol.html",
  41. },
  42. {
  43. title: "隐私政策",
  44. content: "暂无数据",
  45. url: "http://file.usky.cn/uskycloud/privacy_protocol.html",
  46. },
  47. ],
  48. },
  49. };