config.js 941 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // 应用全局配置
  2. export default {
  3. // baseUrl: 'https://vue.ruoyi.vip/prod-api',
  4. //#ifdef H5
  5. baseUrl: import.meta.env.MODE === "production" ? "http://mobile.usky.cn:8099/prod-api" : "http://172.16.120.165:13200/prod-api",
  6. //#endif
  7. //#ifdef APP-PLUS
  8. baseUrl: "http://" + uni.getStorageSync("serveUrl") + "/prod-api",
  9. //#endif
  10. // baseUrl: "http://mobile.usky.cn:8099/prod-api",
  11. websiteUrl: "https://qhome.usky.cn",
  12. // NODE_ENV=devlopment
  13. // 应用信息
  14. appInfo: {
  15. // 应用名称
  16. name: "usky-app-mobile",
  17. // 应用版本
  18. version: "2.0.0",
  19. // 应用logo
  20. logo: "/static/logo.png",
  21. // 官方网站
  22. site_url: "http://www.usky.cn/",
  23. // 政策协议
  24. agreements: [
  25. {
  26. title: "隐私政策",
  27. url: "https://ruoyi.vip/protocol.html",
  28. },
  29. {
  30. title: "用户服务协议",
  31. url: "https://ruoyi.vip/protocol.html",
  32. },
  33. ],
  34. },
  35. };