2024-11-01 17:19:12 +08:00
|
|
|
server:
|
|
|
|
port: 8081
|
|
|
|
|
|
|
|
mybatis-plus:
|
|
|
|
type-aliases-package: com.zsc.edu.gateway.modules.*.entity
|
2025-01-09 17:28:33 +08:00
|
|
|
mapper-locations: classpath*:mappers/*/*.xml
|
2024-11-15 16:40:01 +08:00
|
|
|
type-handlers-package: com.zsc.edu.gateway.framework.mybatisplus
|
2024-11-01 17:19:12 +08:00
|
|
|
configuration:
|
|
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
2024-11-15 16:40:01 +08:00
|
|
|
default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler
|
2024-11-26 16:16:08 +08:00
|
|
|
map-underscore-to-camel-case: true
|
2024-11-01 17:19:12 +08:00
|
|
|
|
|
|
|
spring:
|
|
|
|
datasource:
|
2024-11-28 16:40:22 +08:00
|
|
|
url: jdbc:postgresql://43.139.10.64:15432/gateway?ssl=false&TimeZone=Asia/Shanghai
|
|
|
|
username: gitea
|
|
|
|
password: gitea
|
2024-11-01 17:19:12 +08:00
|
|
|
driver-class-name: org.postgresql.Driver
|
2024-12-10 15:22:07 +08:00
|
|
|
data:
|
|
|
|
redis:
|
|
|
|
host: 43.139.10.64
|
|
|
|
port: 16379
|
|
|
|
password:
|
2024-11-01 17:19:12 +08:00
|
|
|
servlet:
|
|
|
|
multipart:
|
|
|
|
max-file-size: 40MB
|
|
|
|
max-request-size: 40MB
|
2024-11-28 16:40:22 +08:00
|
|
|
jackson:
|
|
|
|
# 属性为空不序列化
|
|
|
|
default-property-inclusion: non_null
|
2024-11-01 17:19:12 +08:00
|
|
|
mail:
|
|
|
|
# 配置 SMTP 服务器地址
|
|
|
|
host: smtp.qq.com
|
|
|
|
# 发送者邮箱
|
|
|
|
username: 2179732328@qq.com
|
|
|
|
# 配置密码,注意不是真正的密码,而是刚刚申请到的授权码
|
|
|
|
password: mabpnbtqqezjdjde
|
|
|
|
# 端口号465或587
|
|
|
|
port: 587
|
|
|
|
# 默认的邮件编码为UTF-8
|
|
|
|
default-encoding: UTF-8
|
|
|
|
# 配置SSL 加密工厂
|
|
|
|
properties:
|
|
|
|
mail:
|
|
|
|
smtp:
|
2024-11-28 16:05:34 +08:00
|
|
|
auth: true
|
|
|
|
starttls:
|
|
|
|
enable: true
|
2024-11-01 17:19:12 +08:00
|
|
|
socketFactoryClass: javax.net.ssl.SSLSocketFactory
|
|
|
|
#表示开启 DEBUG 模式,这样,邮件发送过程的日志会在控制台打印出来,方便排查错误
|
|
|
|
debug: true
|
|
|
|
|
|
|
|
storage:
|
|
|
|
attachment: ./storage/attachment
|
|
|
|
temp: ./storage/temp
|
2024-12-10 15:22:07 +08:00
|
|
|
|