Merge branch 'dev/dev_xp' into dev/dev
This commit is contained in:
11
pom.xml
11
pom.xml
@@ -316,6 +316,17 @@
|
|||||||
<version>1.41.5</version>
|
<version>1.41.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- 邮件发送 -->
|
||||||
|
<!-- thymeleaf -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-mail</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|||||||
@@ -113,4 +113,24 @@ orderList.link=https://develop.aida.com.hk/home/homePage?order=
|
|||||||
# 0 不发送邮件通知 1 发送邮件通知
|
# 0 不发送邮件通知 1 发送邮件通知
|
||||||
stripe.webhook.fail.reminder=0
|
stripe.webhook.fail.reminder=0
|
||||||
# kim test
|
# kim test
|
||||||
stripe.paymentMethodConfiguration=pmc_1LywTWH7nPZ8bkrN6FvdCUWG
|
stripe.paymentMethodConfiguration=pmc_1LywTWH7nPZ8bkrN6FvdCUWG
|
||||||
|
|
||||||
|
#thymelea模板配置
|
||||||
|
#控制 Thymeleaf 是否启用模板缓存 生产环境用true,以提高性能
|
||||||
|
spring.thymeleaf.cache=false
|
||||||
|
|
||||||
|
#指定邮件服务器的地址。
|
||||||
|
spring.mail.host=mail.aida.com.hk
|
||||||
|
#指定邮件服务器的端口号。
|
||||||
|
spring.mail.port=465
|
||||||
|
#指定登录邮件服务器的用户名
|
||||||
|
spring.mail.username=info@aida.com.hk
|
||||||
|
#指定登录邮件服务器的密码 / 授权码
|
||||||
|
spring.mail.password=AIdlab@2025
|
||||||
|
spring.mail.default-encoding=UTF-8
|
||||||
|
|
||||||
|
# SSL 配置
|
||||||
|
#启用 SSL 加密
|
||||||
|
spring.mail.properties.mail.smtp.ssl.enable=true
|
||||||
|
#指定 SSL 连接的端口号。通常与 spring.mail.port 一致
|
||||||
|
spring.mail.properties.mail.smtp.socketFactory.port=465
|
||||||
Reference in New Issue
Block a user