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-prod.yml |   26 +++++++++++++++++++++-----
 1 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml
index 31290d4..c216de9 100644
--- a/src/main/resources/application-prod.yml
+++ b/src/main/resources/application-prod.yml
@@ -2,8 +2,8 @@
 server:
   tomcat:
     uri-encoding: UTF-8
-    basedir: /
-  port: 8016
+    basedir: /home/ecs-shanghai/temp
+  port: 8006
   servlet:
     context-path: /
 # mysql
@@ -14,10 +14,11 @@
       username: hazad
       password: c26207f1e6
       type: com.alibaba.druid.pool.DruidDataSource
-
+  freemarker: 
+    templateLoaderPath: classpath:/docxTemplate/
   #redis
   redis:
-    database: 0
+    database: 14
     host: 127.0.0.1
     port: 6379
     password: akj78avauba789a
@@ -33,7 +34,7 @@
 #  enabled: true
   enabled: false
 
-host: http://localhost:8006/zhongtai
+host: http://localhost:8006
 
 filePath: /home/uploads/
 fileurl: http://nmy.sinanoaq.cn:8006/upload/
@@ -119,3 +120,18 @@
       key:
       url:
 
+file:
+  path:
+    #基础路径
+    dcPath: /home/uploads/hazardInvestigation/
+    urlRootPath: /uploadfile/
+    module:
+      #用户模块
+      accountPath: /account/user/
+      #排查模块
+      checkPath: /check/
+      #补正告知书
+      correctPDF: /correctPDF/
+# swagger生产环境中禁止显示
+swagger:
+  show: false

--
Gitblit v1.9.2