From 3c8f3a7b74f62a9053cd9d860d8f1d37454712eb Mon Sep 17 00:00:00 2001
From: 郑永安 <zyazyz250@sina.com>
Date: Mon, 04 Sep 2023 17:53:59 +0800
Subject: [PATCH] back
---
src/main/resources/application-prod.yml | 32 ++++++++++++++++++++++++--------
1 files changed, 24 insertions(+), 8 deletions(-)
diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml
index 65206a0..c216de9 100644
--- a/src/main/resources/application-prod.yml
+++ b/src/main/resources/application-prod.yml
@@ -2,7 +2,7 @@
server:
tomcat:
uri-encoding: UTF-8
- basedir: /
+ basedir: /home/ecs-shanghai/temp
port: 8006
servlet:
context-path: /
@@ -10,17 +10,18 @@
spring:
datasource:
one:
- url: jdbc:mysql://twt.sinanoaq.com:13306/hotwork?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
- username: root
- password: Sinanoaq#415
+ url: jdbc:mysql://124.221.143.185:23306/hazad?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+ 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: root
+ password: akj78avauba789a
jedis:
pool:
max-idle: 8
@@ -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