From c03cfd052348f0f83655b942e1564597da301ec1 Mon Sep 17 00:00:00 2001 From: 郑永安 <zyazyz250@sina.com> Date: 星期一, 04 九月 2023 17:50:19 +0800 Subject: [PATCH] freemarker配置 --- src/main/resources/application-dev.yml | 48 ++++++++++++++++++++++-------------------------- 1 files changed, 22 insertions(+), 26 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 39b48ad..7587d74 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -14,19 +14,21 @@ username: root password: gkhymysql type: com.alibaba.druid.pool.DruidDataSource - + freemarker: + templateLoaderPath: classpath:/docxTemplate/ #redis redis: - database: 0 - host: 127.0.0.1 + database: 14 + host: 114.116.227.52 port: 6379 - password: root + password: 123456 jedis: pool: max-idle: 8 max-active: 8 max-wait: -1ms min-idle: 0 + #控制线程是否执行 true:执行;false:不执行 scheduling: @@ -114,26 +116,20 @@ name: ali key: url: +#windous测试 +file: + path: + #基础路径 + dcPath: F:\file\gkhy\test\ + urlRootPath: /uploadfile/ + module: + #用户模块 + accountPath: /account/user/ + #排查模块 + checkPath: /check/ + #补正告知书 + correctPDF: /correctPDF/ -rocketmq: - name-server: 192.168.0.52:9876 - #name-server: localhost:9876 - producer: - group: gkhy-safeplatform-dev-ZIS - sendMessageTimeout: 300000 - consumers: - #group: gkhy-safeplatform-dev-s - CreateGroup: gkhy-safeplatform-CreateConsumer-ZIS - NoticeGroup: gkhy-safeplatform-NoticeConsumer-ZIS - TimeOutGroup: gkhy-safeplatform-TimeOutConsumer-ZIS - WaitWorkGroup: gkhy-safeplatform-WaitWorkConsumer-ZIS - applySpecialWorkGroup: gkhy-safeplatform-applySpecialWorkConsumer-ZIS - approvalSpecialWorkGroup: gkhy-safeplatform-topic-approvalSpecialWorkConsumer-ZIS - topic: - #demoTopic: gkhy-safeplatform-topic-demo-s - preventCreateTaskTopic: gkhy-safeplatform-topic-preventCreateTask-ZIS - preventNoticeTaskTopic: gkhy-safeplatform-topic-preventNoticeTask-ZIS - preventTimeOutTaskTopic: gkhy-safeplatform-topic-preventTimeOutTask-ZIS - preventWaitWorkTopic: gkhy-safeplatform-topic-preventWaitWork-ZIS - applySpecialWorkTopic: gkhy-safeplatform-topic-applySpecialWork-ZIS - approvalSpecialWorkTopic: gkhy-safeplatform-topic-approvalSpecialWork-ZIS +# swagger生产环境中禁止显示 +swagger: + show: true \ No newline at end of file -- Gitblit v1.9.2