project:
|
# 环境,生产环境production,开发环境development
|
env: production
|
# 模式,testing测试模式
|
mode: production
|
server:
|
port: 10040
|
|
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:
|
# username: jiangping0849@outlook.com
|
# password: mwzaislgioyhxnig
|
# host: smtp-mail.outlook.com
|
# port: 587
|
# default-encoding: UTF-8
|
# properties:
|
# mail:
|
# debug: true
|
# smtp:
|
# ssl:
|
# socketFactory:
|
# class: com.sun.mail.util.MailSSLSocketFactory
|
# fallback: false
|
# auth: true
|
# starttls:
|
# enable: true
|
# required: true
|
mail:
|
host: smtpdm.aliyun.com
|
username: lkshereport@mail.unilever-china.com
|
password: f2fLk384RChX
|
default-encoding: UTF-8
|
port: 80
|
properties:
|
mail:
|
smtp:
|
auth: true
|
starttls:
|
enable: true
|
required: true
|
|
debug_model: true
|
|
# Swagger配置
|
swagger:
|
host:
|
title: ${project.name}接口文档
|
description: ${project.name}接口文档
|
# 启用Swagger,生产环境建议关闭
|
enabled: true
|
# 启用swagger加密
|
enable-encrypt: true
|
# 禁用swagger时的重定向地址
|
redirect-uri: /
|
|
|
des_pwd: 123456SDFKDJF
|
knife4j:
|
enable: true
|
basic:
|
enable: true
|
username: admin
|
password: 111111
|
|
|
upload:
|
type: blob
|
|
qiwei:
|
serviceurl: https://wecom-qyapiqa.unilever-china.com
|