提交 7f27b1be authored 作者: 133's avatar 133

feat(健康监控): 引入健康代码

引入健康代码并且开放健康接口权限
上级 7c151371
...@@ -201,11 +201,10 @@ public class UseReportFIleServiceImpl implements UseReportFIleService { ...@@ -201,11 +201,10 @@ public class UseReportFIleServiceImpl implements UseReportFIleService {
} catch (FileNotFoundException e) { } catch (FileNotFoundException e) {
log.error(file.getAbsolutePath() + "文件不存在"); log.error(file.getAbsolutePath() + "文件不存在");
e.printStackTrace();
} catch (IOException e) { } catch (IOException e) {
//log.error(file.getAbsolutePath() + "文件读取异常"); //log.error(file.getAbsolutePath() + "文件读取异常");
log.error(file.getAbsolutePath() + "文件用户终止下载"); log.error(file.getAbsolutePath() + "文件用户终止下载");
e.printStackTrace();
} finally { } finally {
try { try {
bs.close(); bs.close();
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<artifactId>2</artifactId> <artifactId>2</artifactId>
<version>2.3</version> <version>2.3</version>
<scope>system</scope> <scope>system</scope>
<systemPath>${project.basedir}/src/main/resources/lib/oscarJDBC.jar</systemPath> <systemPath>${project.basedir}/src/main/resources/lib/oscarJDBC16.jar</systemPath>
</dependency> </dependency>
<dependency> <dependency>
......
...@@ -15,4 +15,10 @@ spring.jackson.time-zone=GMT+8 ...@@ -15,4 +15,10 @@ spring.jackson.time-zone=GMT+8
file.path=/Users/zjm/code/test-tu/ file.path=/Users/zjm/code/test-tu/
preview.path=http://192.168.102.169:8087/file/ preview.path=http://192.168.102.169:8087/file/
useBlockcha=true useBlockcha=true
spring.jpa.hibernate.use-new-id-generator-mappings=false spring.jpa.hibernate.use-new-id-generator-mappings=false
\ No newline at end of file
spring.boot.admin.url=http://localhost:8081/admin
spring.jackson.serialization.indent_output=true
management.endpoints.web.exposure.include="*"
management.endpoint.health.show-details=always
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论