From 699001a9fd31b4fc78e76bcff86ed324dd052c0c Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期三, 12 十一月 2025 17:00:47 +0800
Subject: [PATCH] 修改了一个bug
---
ruoyi-admin/src/main/resources/application.yml | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index b50dfb0..7949ae7 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -59,7 +59,7 @@
spring:
#es閰嶇疆
elasticsearch:
- host: 47.93.189.255
+ host: localhost
port: 8087
# 璧勬簮淇℃伅
messages:
@@ -102,6 +102,24 @@
max-active: 8
# #杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂达紙浣跨敤璐熷�艰〃绀烘病鏈夐檺鍒讹級
max-wait: -1ms
+ #閭閰嶇疆
+ mail:
+ host: smtp.qq.com
+ port: 587
+ #閭
+ username: 3224414357@qq.com
+ #鎺堟潈鐮�
+ password: wmsreabbwlmacjhe
+ protocol: smtp
+ properties:
+# mail.debug: true
+ mail.smtp.auth: true
+ mail.smtp.starttls.enable: true
+ mail.smtp.starttls.required: true
+ mail.smtp.ehlo: true # 鍏抽敭淇
+ mail.smtp.ssl.trust: smtp.qq.com
+ mail.smtp.ssl.protocols: TLSv1.2
+ default-encoding: UTF-8
# token閰嶇疆
token:
@@ -158,3 +176,4 @@
+
--
Gitblit v1.9.1