From c4d861d166f64a295d0a1acb692af8fe9a721b50 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期四, 13 十月 2022 17:42:02 +0800
Subject: [PATCH] 统一异常处理

---
 ycl-platform/src/main/resources/application-dev.yml |   34 ++++++++++++++++++++++++++++++----
 1 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/ycl-platform/src/main/resources/application-dev.yml b/ycl-platform/src/main/resources/application-dev.yml
index 8c2fc5d..85f7ad1 100644
--- a/ycl-platform/src/main/resources/application-dev.yml
+++ b/ycl-platform/src/main/resources/application-dev.yml
@@ -1,10 +1,36 @@
 server:
-  port: 8081
+  port: 8082
+  tomcat:
+    uri-encoding: UTF-8
+  servlet:
+    context-path: /sccg
+    compression: true
+
+fdfs:
+  fileUrl: http://140.143.152.226:8410/
+  groupName: sczhzf
+  soTimeout: 1500
+  connectTimeout: 600
+  trackerList:            #TrackerList鍙傛暟,鏀寔澶氫釜
+    - 140.143.152.226:22122
+
+cfg:
+  res: d://resources
+  media-res: 140.143.152.226/media/
+  snow-flake:
+    datacenterId: 1
+    machineId: 1
+mail:
+  host: smtp.163.com
+  username: maokecheng2015@163.com
+  authorizationCode: JOMMIXUTGAJYOSNA
+
 spring:
   redis:
     database: 0
-    host: localhost
-    password:
+    host: 42.193.1.25
+    port: 6379
+    password: ycl2018
     jedis:
       pool:
         max-active: 8
@@ -17,7 +43,7 @@
     username: root
     password: 321$YcYl@1970!
     type: com.alibaba.druid.pool.DruidDataSource
-    driver-class-name: com.mysql.jdbc.Driver
+    driver-class-name: com.mysql.cj.jdbc.Driver
     filters: stat
     maxActive: 20
     initialSize: 1

--
Gitblit v1.8.0