From 92756a19ca99f2cade8a7e3ff46e08f47bf31cbc Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期二, 16 十二月 2025 22:06:34 +0800
Subject: [PATCH] 修改了一个bug

---
 ruoyi-admin/src/main/resources/application.yml |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index ce74eb4..7949ae7 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -21,7 +21,7 @@
   port: 8080
   ssl: #ssl閰嶇疆
     # resources鏍圭洰褰曠殑鈥濊瘉涔︽簮鏂囦欢.pfx鈥�
-    key-store: classpath:www.www.bendudu.com.pfx
+    key-store: classpath:www.bendudu.com.pfx
     # 鈥�.pfx鈥濊瘉涔﹀搴旀牸寮忥紝鈥�.jks"璇佷功瀵瑰簲鈥淩SA鈥�
     key-store-type: PKCS12
     key-store-password: uns191i1
@@ -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