From bff48e0801af8d8bdc8d73dce2a7b007e8af4235 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Tue, 23 Jan 2024 17:06:54 +0800
Subject: [PATCH] 添加网格员报错
---
src/main/resources/application.yml | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 4d20f7c..ec3a25a 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -48,6 +48,26 @@
session-stat-max-count: 10
main:
allow-circular-references: true
+ #邮件配置
+ 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
@@ -132,6 +152,7 @@
database:
provider:
prefix: blade-
+ file-store-dir: D:/myfile/ureportDbfiles
#oss默认配置
oss:
--
Gitblit v1.9.3