spring:
|
# 数据源配置
|
datasource:
|
url: jdbc:postgresql://175.27.187.84:5432/park_bike?stringtype=unspecified&serverTimezone=GMT%2B8
|
username: postgres
|
password: Doumee@168
|
driver-class-name: org.postgresql.Driver
|
jpa:
|
properties:
|
hibernate:
|
dialect: org.hibernate.dialect.PostgreSQLDialect
|
# hbm2ddl:
|
# auto: update
|
temp:
|
use_jdbc_metadata_defaults: false
|
redis:
|
# database: 0
|
host: localhost
|
port: 6379
|
password:
|
# password: r-uf6is6x17arnu44bem:tlt_2022
|
timeout: 5000 # 连接池中的最小空闲连接
|
|
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: wx48fd8faa35cc8277
|
mchId: 1661770902
|
apiV3Key: iF3kC8pL8dZ9iU3hN5fX9zI6eF4xQ6fT
|
serialNumer: 368B835A194384FD583B83B77977B84127D2F655
|
mchKey: W97N53Q71326D6JZ2E9HY5M4VT4BAC8S
|
notifyUrl: https://dmtest.ahapp.net/bike_h5_api/api/wxPayNotify
|
refundNotifyUrl: https://dmtest.ahapp.net/bike_h5_api/api/wxRefundNotify
|
# refundNotifyUrl: http://xiaopiqiu2.natapp1.cc/api/wxRefundNotify
|
keyPath: /usr/local/apiclient_cert.p12
|
privateCertPath: /usr/local/apiclient_cert.pem
|
privateKeyPath: /usr/local/apiclient_key.pem
|
existsSub: 1
|
appSecret: 1ceb7c9dff3c4330d653adc3ca55ea24
|
subAppId: wxcd2b89fd2ff065f8
|
subAppSecret: 3336812504c830b1c3c5243f9ece407a
|
subMchId: 1661772003
|
subMchKey: EVM8E15TKXE0OEMJFC0V6UFVIOZ5CSQS
|
typeId: gybike
|
########################mqtt相关配置########################
|
|
mqtt:
|
host: tcp://175.27.187.84:1883
|
username: doumee1
|
password: doumee@168
|
version: 005
|
|
tencent:
|
map:
|
remoteHost: https://apis.map.qq.com
|
appKey: 3AYBZ-I5R3V-2BVP3-UWBDQ-ETBM5-B2BBQ
|