|
spring:
|
# 数据源配置
|
datasource:
|
url: jdbc:mysql://192.168.0.211:3306/dmmall_full?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
|
username: root
|
password: Doumee@168
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
redis:
|
# database: 0
|
host: localhost
|
port: 6379
|
password:
|
timeout: 5000 # 连接池中的最小空闲连接
|
|
jackson:
|
time-zone: GMT+8
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
rocketmq:
|
namesrvAddr: rmq-cn-zxu364d2k0i.cn-shanghai.rmq.aliyuncs.com:8080
|
groupId: doumeeGroup
|
topic: doumeeTopic
|
username: Onu5C13YO2wj1NUn
|
password: xpQFFE0y543lB2a7
|
|
knife4j:
|
enable: true
|
basic:
|
enable: true
|
username: admin
|
password: 111111
|
|
debug_model: true
|
|
captcha_check: false
|
|
# Swagger配置
|
swagger:
|
host:
|
title: ${project.name}接口文档
|
description: ${project.name}接口文档
|
enabled: true
|
# 禁用swagger时的重定向地址
|
redirect-uri: /
|
|
########################微信支付相关配置########################
|
wx:
|
pay:
|
appId: wxcd2b89fd2ff065f8
|
appSecret: 3462fa186da7cb06c544df8d8664b63a
|
mchId: 1229817002
|
mchKey: u4TSNtv0wFP7WRfnxBgijYOtRhS9FvlM
|
notifyUrl: https://dmtest.ahapp.net/dmmall_interface/web/api/wxPayNotify
|
keyPath: /usr/local/apiclient_cert.p12
|
|
tencent:
|
map:
|
remoteHost: https://apis.map.qq.com
|
appKey: 3AYBZ-I5R3V-2BVP3-UWBDQ-ETBM5-B2BBQ
|
|
|
########################定时开启配置########################
|
timing: true
|