feat(config): 添加服务器URL配置并优化文件预览功能
- 在 application.yml 中添加 server-url 配置项,支持各环境profile覆盖 - 在 application-dev.yml 和 application-prod.yml 中分别配置对应的服务器地址 - 移除 @flyfish-group/file-viewer-web 依赖,改用 iframe 方式实现文件预览 - 更新 drawingDesign、installFeedback、layout 和 manuals 等模块的预览逻辑 - 在 ServerConfig 中实现优先使用配置的 server-url 的逻辑 - 移除相关的 viewerCtrl 控制器和生命周期钩子函数
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
--- # 本地开发环境覆盖
|
||||
ruoyi:
|
||||
profile: /home/wy/oa/uploadPath
|
||||
server-url: http://localhost:8080
|
||||
|
||||
--- # 监控中心配置
|
||||
spring.boot.admin.client:
|
||||
# 增加客户端开关
|
||||
|
||||
Reference in New Issue
Block a user