From 7be0d5b901b999d2347774df3cc1a64927838bb3 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期二, 15 四月 2025 10:10:35 +0800 Subject: [PATCH] 优化每年专项数据获取 --- src/main/resources/application.yml | 66 +++++++++++++++----------------- 1 files changed, 31 insertions(+), 35 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 9dc5e5d..afeea8e 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,25 +1,25 @@ -# 项目相关配置 -ruoyi: - # 名称 - name: TroubleAndRisk - # 版本 - version: 1.0.3 - # 版权年份 - copyrightYear: 2021 - # 实例演示开关 - demoEnabled: false - # 文件路径 示例( Windows配置D:/TroubleAndRisk/uploadPath,Linux配置 /home/TroubleAndRisk/uploadPath) -# profile: /www/TroubleAndRisk/uploadPath +## 项目相关配置 +#ruoyi: +# # 名称 +# name: TroubleAndRisk +# # 版本 +# version: 1.0.3 +# # 版权年份 +# copyrightYear: 2022-2023 +# # 实例演示开关 +# demoEnabled: false +# # 文件路径 示例( Windows配置D:/TroubleAndRisk/uploadPath,Linux配置 /home/TroubleAndRisk/uploadPath) +## profile: /www/TroubleAndRisk/uploadPath # profile: D:/ProjFile/TroubleAndRisk - profile: /home/troubleAndRisk/upload - # 获取ip地址开关 - addressEnabled: true +## profile: /home/troubleAndRisk/upload +# # 获取ip地址开关 +# addressEnabled: true # 获取服务器域名 # 开发环境配置 server: # 服务器的HTTPS端口,为443 - port: 1443 +# port: 443 # ssl: # key-store: /root/ssl/syf.com.pfx # key-store: H:/wm/ssl/syf.com.pfx @@ -35,25 +35,11 @@ # Tomcat启动初始化的线程数,默认值25 min-spare-threads: 30 -http: - # HTTP端口,39559 -# additionalPorts: 80 - additionalPorts: 6801 - -# 日志配置 -logging: - level: - com.ruoyi: debug - org.springframework: warn - -# 用户配置 -user: - password: - # 密码错误{maxRetryCount}次锁定10分钟 - maxRetryCount: 5 # Spring配置 spring: + application: + name: trouble_risk # 模板引擎 thymeleaf: mode: HTML @@ -68,14 +54,16 @@ time-zone: GMT+8 date-format: yyyy-MM-dd HH:mm:ss profiles: - active: druid + #active: dev + active: guotai-prod + # 文件上传 servlet: multipart: # 单个文件大小 - max-file-size: 30MB + max-file-size: 50MB # 设置总上传的文件大小 - max-request-size: 60MB + max-request-size: 50MB # 服务模块 devtools: restart: @@ -86,6 +74,14 @@ jcache: config: classpath:ehcache.xml + + +# 用户配置 +user: + password: + # 密码错误{maxRetryCount}次锁定10分钟 + maxRetryCount: 5 + # MyBatis mybatis: # 搜索指定包别名 -- Gitblit v1.9.2