From 1b7c7ea1c4832d23f31468991fc3c55919ce3c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=BA=A2=E5=B2=A9=20lWoHvYe?= Date: Sun, 31 Mar 2024 08:47:59 +0800 Subject: [PATCH] mail config --- gradle.properties | 2 +- .../java/com/lwohvye/core/constant/UnicornCoreConstant.java | 2 +- .../src/main/resources/application.yml | 2 +- valentine-starter/src/main/resources/config/application-dev.yml | 1 + valentine-starter/src/main/resources/config/application-sit.yml | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 707fb9bc..df23c8e1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,6 +14,6 @@ # limitations under the License. # springBootVersion=3.2.4 -springCloudVersion=2023.0.0 +springCloudVersion=2023.0.1 kotlinVersion=1.9.23 kotlin.experimental.tryK2=true diff --git a/unicorn-core/src/main/java/com/lwohvye/core/constant/UnicornCoreConstant.java b/unicorn-core/src/main/java/com/lwohvye/core/constant/UnicornCoreConstant.java index 8d28405a..6135a9c4 100644 --- a/unicorn-core/src/main/java/com/lwohvye/core/constant/UnicornCoreConstant.java +++ b/unicorn-core/src/main/java/com/lwohvye/core/constant/UnicornCoreConstant.java @@ -42,6 +42,6 @@ public class UnicornCoreConstant { */ public static class Url { // IP归属地查询 - public static final String IP_URL = "http://whois.pconline.com.cn/ipJson.jsp?ip=%s&json=true"; + public static final String IP_URL = "https://whois.pconline.com.cn/ipJson.jsp?ip=%s&json=true"; } } diff --git a/unicorn-oauth2/unicorn-oauth2-resource-server-flux/src/main/resources/application.yml b/unicorn-oauth2/unicorn-oauth2-resource-server-flux/src/main/resources/application.yml index d0d26990..8f3200b7 100644 --- a/unicorn-oauth2/unicorn-oauth2-resource-server-flux/src/main/resources/application.yml +++ b/unicorn-oauth2/unicorn-oauth2-resource-server-flux/src/main/resources/application.yml @@ -1,5 +1,5 @@ server: - port: 8090 + port: 8091 logging: level: diff --git a/valentine-starter/src/main/resources/config/application-dev.yml b/valentine-starter/src/main/resources/config/application-dev.yml index 5fd7494b..7afd80ca 100644 --- a/valentine-starter/src/main/resources/config/application-dev.yml +++ b/valentine-starter/src/main/resources/config/application-dev.yml @@ -74,6 +74,7 @@ spring: ##### 邮箱配置(配合3rd-tools模块使用) mail: host: smtp.office365.com #SMTP server host + port: 587 username: xxx@outlook.com #login user password: xxx #login password properties: diff --git a/valentine-starter/src/main/resources/config/application-sit.yml b/valentine-starter/src/main/resources/config/application-sit.yml index dcc90eb4..5cc918ce 100644 --- a/valentine-starter/src/main/resources/config/application-sit.yml +++ b/valentine-starter/src/main/resources/config/application-sit.yml @@ -81,6 +81,7 @@ spring: ##### 邮箱配置(配合3rd-tools模块使用) mail: host: smtp.office365.com #SMTP server host + port: 587 username: xxx@outlook.com #login user password: xxx #login password properties: