| | |
| | | max-file-size: 10MB |
| | | max-request-size: 10MB |
| | | mail: |
| | | # 定时任务发送邮件 |
| | | timeJobSend: false |
| | | # 定时任务开关:测试阶段改为true(否则任务不执行) |
| | | timeJobSend: true |
| | | # 163邮箱SMTP服务器 |
| | | host: smtp.163.com |
| | | username: jeecgos@163.com |
| | | password: ?? |
| | | # 你的163邮箱账号(必须和服务器匹配,如 xxx@163.com) |
| | | username: cgf12138@163.com |
| | | # 163邮箱SMTP授权码(不是登录密码,需在163邮箱生成) |
| | | password: SWdKNq3ZtktPdbkB |
| | | # 163邮箱SSL端口(固定465) |
| | | port: 465 |
| | | # SSL协议(必填) |
| | | protocol: smtps |
| | | default-encoding: UTF-8 |
| | | properties: |
| | | mail.smtp.auth: true |
| | | smtp.ssl.enable: true |
| | | mail.debug: true # 启用调试模式(查看详细日志) |
| | | mail: |
| | | smtp: |
| | | auth: true |
| | | ssl: |
| | | enable: true # 开启SSL加密 |
| | | starttls: |
| | | enable: true |
| | | required: true |
| | | debug: true # 调试日志,方便排查 |
| | | |
| | | ## quartz定时任务,采用数据库方式 |
| | | quartz: |
| | | job-store-type: jdbc |
| | |
| | | slow-sql-millis: 5000 |
| | | datasource: |
| | | master: |
| | | url: jdbc:mysql://8.145.61.64:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai |
| | | username: root |
| | | password: win2020! |
| | | url: jdbc:mysql://47.92.103.110:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai |
| | | username: 'jeecg-boot' |
| | | password: jeecgboot |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | # 多数据源配置 |
| | | #multi-datasource1: |
| | |
| | | data: |
| | | redis: |
| | | database: 0 |
| | | host: 8.145.61.64 |
| | | host: 47.92.103.110 |
| | | port: 6379 |
| | | password: 'win2020!' |
| | | #mybatis plus 设置 |
| | |
| | | excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/bigscreen/category/**,/bigscreen/visual/**,/bigscreen/map/**,/jmreport/bigscreen2/** |
| | | #阿里云oss存储和大鱼短信秘钥配置 |
| | | oss: |
| | | accessKey: ?? |
| | | secretKey: ?? |
| | | accessKey: LTAI5t6EZxHYoEs9CNr5dH1k |
| | | secretKey: GXX8BrLvPMqHGnURR4d9KEpxIhiuuf |
| | | endpoint: oss-cn-beijing.aliyuncs.com |
| | | bucketName: jeecgdev |
| | | staticDomain: https://static.jeecg.com |
| | | # 短信模板 |
| | | sms-template: |
| | | # 签名 |
| | | signature: |
| | | signature: 仁软科技 |
| | | # 模板code |
| | | templateCode: |
| | | # 登录短信、忘记密码模板编码 |
| | | SMS_175435174: |
| | | SMS_175435174: SMS_190266451 |
| | | # 修改密码短信模板编码 |
| | | SMS_465391221: |
| | | SMS_465391221: SMS_190266451 |
| | | # 注册账号短信模板编码 |
| | | SMS_175430166: |
| | | SMS_175430166: SMS_190266451 |
| | | # 在线预览文件服务器地址配置 |
| | | file-view-domain: http://127.0.0.1:8012 |
| | | # minio文件上传 |