LocalPathConfig.java 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. package jnpf.config;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. import lombok.Data;
  4. import org.springframework.beans.factory.annotation.Value;
  5. import org.springframework.stereotype.Component;
  6. /**
  7. * 本地存储文件路径配置
  8. *
  9. * @author JNPF开发平台组
  10. * @version V3.1.0
  11. * @copyright 引迈信息技术有限公司(https://www.jnpfsoft.com)
  12. * @date 2021-08-24
  13. */
  14. //@Component
  15. @Data
  16. @Deprecated
  17. public class LocalPathConfig {
  18. /**
  19. * 数据库备份文件路径
  20. */
  21. @Value("${config.DataBackupFilePath:}")
  22. private String dataBackupFilePath;
  23. /**
  24. * 临时文件存储路径
  25. */
  26. @Value("${config.TemporaryFilePath:}")
  27. private String temporaryFilePath;
  28. /**
  29. * 系统文件存储路径
  30. */
  31. @Value("${config.SystemFilePath:}")
  32. private String systemFilePath;
  33. /**
  34. * 文件模板存储路径
  35. */
  36. @Value("${config.TemplateFilePath:}")
  37. private String templateFilePath;
  38. /**
  39. * 代码模板存储路径
  40. */
  41. @Value("${config.TemplateCodePath:}")
  42. private String templateCodePath;
  43. /**
  44. * 邮件文件存储路径
  45. */
  46. @Value("${config.EmailFilePath:}")
  47. private String emailFilePath;
  48. /**
  49. * 大屏图片存储目录
  50. */
  51. @Value("${config.BiVisualPath:}")
  52. private String biVisualPath;
  53. /**
  54. * 文档管理存储路径
  55. */
  56. @Value("${config.DocumentFilePath:}")
  57. private String documentFilePath;
  58. /**
  59. * 文件在线预览存储pdf
  60. */
  61. @Value("${config.DocumentPreviewPath:}")
  62. private String documentPreviewPath;
  63. /**
  64. * 用户头像存储路径
  65. */
  66. @Value("${config.UserAvatarFilePath:}")
  67. private String userAvatarFilePath;
  68. /**
  69. * IM聊天图片+语音存储路径
  70. */
  71. @Value("${config.IMContentFilePath:}")
  72. private String imContentFilePath;
  73. /**
  74. * 微信公众号资源文件存储路径
  75. */
  76. @Value("${config.MPMaterialFilePath:}")
  77. private String mpMaterialFilePath;
  78. /**
  79. * 微信公众号允许上传文件类型
  80. */
  81. @Value("${config.MPUploadFileType:}")
  82. private String mpUploadFileType;
  83. /**
  84. * 微信允许上传文件类型
  85. */
  86. @Value("${config.WeChatUploadFileType:}")
  87. private String weChatUploadFileType;
  88. /**
  89. * 允许上传文件类型
  90. */
  91. @Value("${config.AllowUploadFileType:}")
  92. private String allowUploadFileType;
  93. /**
  94. * 允许图片类型
  95. */
  96. @Value("${config.AllowUploadImageType:}")
  97. private String allowUploadImageType;
  98. /**
  99. * 后端文件目录
  100. */
  101. @Value("${config.WebDirectoryPath:}")
  102. private String webDirectoryPath;
  103. /**
  104. * 前端附件文件目录
  105. */
  106. @Value("${config.WebAnnexFilePath:}")
  107. private String webAnnexFilePath;
  108. /**
  109. * 允许预览类型
  110. */
  111. @Value("${config.AllowPreviewFileType:}")
  112. private String allowPreviewFileType;
  113. /**
  114. * 预览方式
  115. */
  116. @Value("${config.PreviewType:}")
  117. private String previewType;
  118. /**
  119. * kk服务地址
  120. */
  121. @Value("${config.kkFileUrl:}")
  122. private String kkFileUrl;
  123. }