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 | 72 +++++++++++++++++++++++++++--------
1 files changed, 55 insertions(+), 17 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 720ccf4..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,7 +48,45 @@
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
+# time-zone: GMT+8
# mybatis
mybatis-plus:
mapper-locations: classpath:org/springblade/**/mapper/*Mapper.xml
@@ -114,14 +152,14 @@
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:
@@ -129,13 +167,14 @@
database:
provider:
prefix: blade-
+ file-store-dir: D:/myfile/ureportDbfiles
#oss默认配置
oss:
- enabled: true
+ enabled: false
name: qiniu
tenant-mode: true
- endpoint: http://prt1thnw3.bkt.clouddn.com
+ endpoint: https://srgdjczzxtpt.com:2080/gminio/jczz/
access-key: N_Loh1ngBqcJovwiAJqR91Ifj2vgOWHOf8AwBA_h
secret-key: AuzuA1KHAbkIndCU0dB3Zfii2O3crHNODDmpxHRS
bucket-name: bladex
@@ -170,6 +209,7 @@
token:
#是否有状态
state: false
+ sign-key: CJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJ1c2VyX25hbWUiOiIxNTE3MDcyMDY5NSIsInJlYWxfbmFtZSI6Inpob25nIiwidG9rZW5fdHlwZSI6ImFjY2Vzc190b2tlbiIsInJvbGVfbmFtZSI
#redis序列化方式
redis:
serializer-type: protostuff
@@ -198,17 +238,15 @@
- /blade-chat/weixin
- /blade-desk/notice/submit
- /blade-flow/model/submit
+ - /blade-article/article/submit
#安全框架配置
secure:
#接口放行
skip-url:
- /blade-test/**
-# - /blade-doorplateAddress/doorplateAddress/**
- - /blade-house/house/**
- - /blade-label/label/**
- - /blade-houseRental/houseRental/**
- - /blade-resource/oss/**
- - /blade-place/**
+ - /oauth/**
+ - /login
+
#授权认证配置
auth:
- method: ALL
--
Gitblit v1.9.3