spring:
|
# 数据源配置
|
datasource:
|
url: jdbc:mysql://10.200.200.16:3306/zbom_dianjiang?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
|
username: root
|
password: Zbom2020@rds
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
type: com.alibaba.druid.pool.DruidDataSource
|
redis:
|
# 志邦家选可以用的redis,这个redisU客也在用
|
host: 10.200.100.39
|
port: 20032
|
password: Zbom_2020@123
|
timeout: 5000 # 连接池中的最小空闲连接
|
jackson:
|
time-zone: GMT+8
|
date-format: yyyy-MM-dd HH:mm:ss
|
mail:
|
host: smtp.aliyun.com
|
port: 465
|
username: your_email@aliyun.com
|
password: your_password
|
properties:
|
mail:
|
smtp:
|
auth: true
|
starttls:
|
enable: true
|
required: true
|
ssl:
|
enable: true
|
debug_model: false
|
|
# Swagger配置
|
swagger:
|
host: 127.0.0.1
|
title: ${project.name}接口文档
|
description: ${project.name}接口文档
|
enabled: true
|
context-path:
|
# 禁用swagger时的重定向地址
|
redirect-uri: /
|
|
des_pwd: 123456SDFKDJF
|
|
knife4j:
|
enable: true
|
basic:
|
enable: true
|
username: admin
|
password: doumee@168
|
upload:
|
type: blob
|
|
|
project:
|
# 环境,生产环境production,开发环境development
|
env: production
|
# 模式,testing测试模式
|
mode: production
|
|
|
dingtalk:
|
clientId: dingy7xdyzffnegiaszo
|
clientSecret: KfjrSYV7YOTRU3VkBBZyPVuop7pd4_Hl5_sPFl8G_uIQuKQ_QbOQBmUHoLjiFn3e
|