liusheng
17 小时以前 d31e943b87bd1093ad2f5aa104406c254570f98c
查询预约时间SQL修改
已修改2个文件
9 ■■■■■ 文件已修改
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/config/WebConfig.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-server/src/main/resources/application.yaml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/config/WebConfig.java
@@ -19,7 +19,8 @@
        ConfigDO configByKey = configService.getConfigByKey("file.upload.path");
        // 配置 /profile/** 映射到文件系统路径
        registry.addResourceHandler("/profile/**").addResourceLocations("file:" + configByKey.getValue() + "/");
        if (configByKey != null) {
            registry.addResourceHandler("/profile/**").addResourceLocations("file:" + configByKey.getValue() + "/");
        }
    }
}
jh-server/src/main/resources/application.yaml
@@ -3,8 +3,8 @@
    name: jh-server
  profiles:
    #    active: prod
    active: stage
    active: prod
  #    active: stage
  main:
    allow-circular-references: true # 允许循环依赖,因为项目是三层架构,无法避免这个情况。