From a5fac95408a43ad43de9d88c30d06c0918c7bc8f Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Wed, 29 May 2024 11:14:44 +0800
Subject: [PATCH] 配置调整

---
 src/main/resources/application.yml |   87 +++++++++++++++++++++++++------------------
 1 files changed, 51 insertions(+), 36 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 4d20f7c..c3a62d9 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,6 +1,6 @@
 #服务器配置
 server:
-  port: 9528
+  port: 9530
   undertow:
     threads:
       # 设置IO线程数, 它主要执行非阻塞的任务,它们会负责多个连接, 默认设置每个CPU核心一个线程
@@ -48,6 +48,41 @@
         session-stat-max-count: 10
   main:
     allow-circular-references: true
+  freemarker:
+    # 模板后缀名
+    suffix: .ftl
+    # 文档类型
+    content-type: text/html
+    # 页面编码
+    charset: UTF-8
+    # 页面缓存
+    cache: false
+    # 模板路径
+    template-loader-path: classpath:/templates/
+  web:
+    # 资源路径
+    resources:
+      static-locations: classpath:/static/
+  #邮件配置
+  mail:
+    # 配置 SMTP 服务器地址
+    host: smtp.qq.com
+    # 发送者邮箱
+    username: 503*****@qq.com
+    # 配置密码,注意不是真正的密码,而是刚刚申请到的授权码
+    password: apbpxb****bwtbiha
+    # 端口号465或587
+    port: 587
+    # 默认的邮件编码为UTF-8
+    default-encoding: UTF-8
+    # 配置SSL 加密工厂
+    properties:
+      mail:
+        smtp:
+          socketFactoryClass: javax.net.ssl.SSLSocketFactory
+        #表示开启 DEBUG 模式,这样,邮件发送过程的日志会在控制台打印出来,方便排查错误
+        debug: true
+    protocol: smtps
 
 #  jackson:
 #    date-format: yyyy-MM-dd HH:mm:ss
@@ -117,25 +152,26 @@
     url: https://gitee.com/smallc
 
 #flowable配置
-flowable:
-  activity-font-name: \u5B8B\u4F53
-  label-font-name: \u5B8B\u4F53
-  annotation-font-name: \u5B8B\u4F53
-  check-process-definitions: false
-  database-schema-update: false
-  async-executor-activate: false
-  async-history-executor-activate: false
+#flowable:
+#  activity-font-name: \u5B8B\u4F53
+#  label-font-name: \u5B8B\u4F53
+#  annotation-font-name: \u5B8B\u4F53
+#  check-process-definitions: false
+#  database-schema-update: false
+#  async-executor-activate: false
+#  async-history-executor-activate: false
 
 #报表配置
 report:
-  enabled: true
+  enabled: false
   database:
     provider:
       prefix: blade-
+  file-store-dir: D:/myfile/ureportDbfiles
 
 #oss默认配置
 oss:
-  enabled: true
+  enabled: false
   name: qiniu
   tenant-mode: true
   endpoint: https://srgdjczzxtpt.com:2080/gminio/jczz/
@@ -173,6 +209,7 @@
   token:
     #是否有状态
     state: false
+    sign-key: CJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJ1c2VyX25hbWUiOiIxNTE3MDcyMDY5NSIsInJlYWxfbmFtZSI6Inpob25nIiwidG9rZW5fdHlwZSI6ImFjY2Vzc190b2tlbiIsInJvbGVfbmFtZSI
   #redis序列化方式
   redis:
     serializer-type: protostuff
@@ -207,31 +244,9 @@
     #接口放行
     skip-url:
       - /blade-test/**
-      - /sse/**
-      - /blade-doorplateAddress/doorplateAddress/getFuncList
-      - /blade-rotation/rotation/page
-      - /blade-article/article/page
-      - /blade-article/article/detail
-      - /blade-articleComment/articleComment/page
-      - /public_discuss/publicDiscuss/detail
-      - /blade-userPublicEnroll/userPublicEnroll/page
-      - /blade-topics/topics/lists
-      - /blade-household/household/getHouseholdOtherInfo
-#      - /blade-doorplateAddress/doorplateAddress/**
-#      - /blade-house/house/**
-#      - /blade-household/household/**
-#      - /blade-label/label/**
-#      - /blade-houseRental/houseRental/**
-#      - /blade-resource/oss/**
-#      - /blade-place/**
-#      - /blade-taskReportForRepairs/**
-#      - /blade-placeExt/**
-#      - /blade-grid/**
-#      - /blade-gridman/**
-#      - /blade-propertyCompany/**
-#      - /blade-eCallEvent/**
-#      - /blade-system/**
-#      - /blade-propertyCompanyComment/**
+      - /oauth/**
+      - /login
+
     #授权认证配置
     auth:
       - method: ALL

--
Gitblit v1.9.3