server: port: 8080 spring: datasource: url: jdbc:mysql://110.42.41.177:3306/dating?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8 username: root password: JoyeeServe2025 driver-class-name: com.mysql.cj.jdbc.Driver # 邮箱SMTP配置 mail: host: smtp.163.com # QQ邮箱SMTP服务器地址 port: 465 # SMTP端口 username: 19271189822@163.com # 发件人邮箱 password: CAwXh39PXajy3fyH # 邮箱授权码 default-encoding: UTF-8 properties: mail: smtp: auth: true starttls: enable: true required: true ssl: enable: true # 使用587端口时设为false,使用465端口时设为true connectiontimeout: 10000 # 连接超时时间(毫秒) timeout: 10000 # 读取超时时间(毫秒) writetimeout: 10000 # 写入超时时间(毫秒) # MyBatis 配置 mybatis: mapper-locations: classpath:mapper/*.xml type-aliases-package: com.bao.dating.pojo configuration: map-underscore-to-camel-case: true log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 阿里云 OSS 配置 aliyun: oss: endpoint: oss-cn-beijing.aliyuncs.com access-key-id: LTAI5t5vpcbCZwweNHEDDDaF access-key-secret: bBHBAPiCqGyVBHUv07348wsHXkKqrk bucket-name: heimatoo accessKeyId: LTAI5t5vpcbCZwweNHEDDDaF secret: bBHBAPiCqGyVBHUv07348wsHXkKqrk scenes: antispam # 阿里云短信服务配置 sms: access-key-id: LTAI5t5vpcbCZwweNHEDDDaF access-key-secret: bBHBAPiCqGyVBHUv07348wsHXkKqrk region-id: cn-hangzhou sign-name: 速通互联验证码 template-code: 100001