config.uts 840 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. export type Agreements={
  2. title: string;
  3. url: string;
  4. }
  5. export type AppInfo ={
  6. name: string;
  7. version: string;
  8. logo: string;
  9. site_url: string;
  10. agreements: Agreements[];
  11. }
  12. export type GlobalConfig= {
  13. baseUrl: string;
  14. appInfo: AppInfo;
  15. }
  16. export const globalConfig = {
  17. // baseUrl: 'https://vue.ruoyi.vip/prod-api',
  18. baseUrl: 'http://localhost:8080',
  19. // 应用信息
  20. appInfo: {
  21. // 应用名称
  22. name: "ruoyi-app",
  23. // 应用版本
  24. version: "1.1.0",
  25. // 应用logo
  26. logo: "/static/logo.png",
  27. // 官方网站
  28. site_url: "http://ruoyi.vip",
  29. // 政策协议
  30. agreements: [{
  31. title: "隐私政策",
  32. url: "https://ruoyi.vip/protocol.html"
  33. },
  34. {
  35. title: "用户服务协议",
  36. url: "https://ruoyi.vip/protocol.html"
  37. }
  38. ]
  39. }
  40. } as GlobalConfig;