|
@@ -9,10 +9,39 @@ spring:
|
|
|
datasource:
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
- url: jdbc:mysql://localhost:3307/rm?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8&autoReconnect=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
|
|
|
+ url: jdbc:mysql://192.168.1.205:3306/ssi?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8&autoReconnect=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
|
|
|
username: root
|
|
|
password: "!QAZ2root"
|
|
|
|
|
|
+ #邮箱基本配置
|
|
|
+ mail:
|
|
|
+ #配置smtp服务主机地址
|
|
|
+ # qq邮箱为smtp.qq.com 端口号465或587
|
|
|
+ # sina smtp.sina.cn
|
|
|
+ # aliyun smtp.aliyun.com
|
|
|
+ # 163 smtp.163.com 端口号465或994
|
|
|
+ host: smtp.263.net
|
|
|
+ #发送者邮箱
|
|
|
+ username: xushilong@jiayuepowertech.com
|
|
|
+ #配置密码,注意不是真正的密码,而是刚刚申请到的授权码
|
|
|
+ password: jiayue123456
|
|
|
+ #端口号465或587
|
|
|
+ port: 465
|
|
|
+ #默认的邮件编码为UTF-8
|
|
|
+ default-encoding: UTF-8
|
|
|
+ #其他参数
|
|
|
+ properties:
|
|
|
+ mail:
|
|
|
+ #配置SSL 加密工厂
|
|
|
+ smtp:
|
|
|
+ ssl:
|
|
|
+ #本地测试,先放开ssl
|
|
|
+ enable: true
|
|
|
+ required: true
|
|
|
+ #开启debug模式,这样邮件发送过程的日志会在控制台打印出来,方便排查错误
|
|
|
+ debug: true
|
|
|
+
|
|
|
+
|
|
|
#mybatis plus
|
|
|
#mybatis-plus:
|
|
|
# #指明mapper.xml扫描位置(classpath* 代表编译后类文件根目录)
|