config.js 1.4 KB

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