From d31e943b87bd1093ad2f5aa104406c254570f98c Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 01 十二月 2025 17:32:09 +0800
Subject: [PATCH] 查询预约时间SQL修改
---
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/config/WebConfig.java | 5 +++--
jh-server/src/main/resources/application.yaml | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/config/WebConfig.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/config/WebConfig.java
index 3f85867..c53159a 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/config/WebConfig.java
+++ b/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() + "/");
+ }
}
}
diff --git a/jh-server/src/main/resources/application.yaml b/jh-server/src/main/resources/application.yaml
index adad8a4..4da62e7 100644
--- a/jh-server/src/main/resources/application.yaml
+++ b/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 # 鍏佽寰幆渚濊禆锛屽洜涓洪」鐩槸涓夊眰鏋舵瀯锛屾棤娉曢伩鍏嶈繖涓儏鍐点��
--
Gitblit v1.9.3