project:
|
# 环境,生产环境production,开发环境development
|
env: production
|
# 模式,testing测试模式
|
mode: production
|
|
# WEB服务器配置
|
server:
|
port: 10010
|
|
spring:
|
# 数据源配置
|
datasource:
|
url: jdbc:mysql://solution-cnn3-d-shereport-db-mysql01.mysql.database.chinacloudapi.cn:3306/lianhelihua?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
|
username: service_account
|
password: yP5@jJzqME63
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
type: com.alibaba.druid.pool.DruidDataSource
|
redis:
|
# database: 0
|
host: 127.0.0.1
|
port: 6379
|
password:
|
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: true
|
|
# 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:
|
|
upload:
|
type: blob
|
|
qiwei:
|
serviceurl: https://wecom-qyapi.unilever-china.com/
|