修改payment配置

This commit is contained in:
暇享 2024-03-18 23:28:37 +08:00
parent 0bbf888b2c
commit 85c74ae900
1 changed files with 20 additions and 15 deletions

View File

@ -9,6 +9,11 @@
# 该yml文件只配置与环境相关的参数 其他配置读取项目下的配置项
#
#################################
my:
addr:
mysql: host.docker.internal
redis: host.docker.internal
server:
port: 9216 #设置端口
servlet:
@ -30,9 +35,9 @@ spring:
number_format: '#' #数字格式进行原样显示,不加格式化字符例如 100,00
datasource:
# yml填写url连接串 无需将&符号进行转义
url: jdbc:mysql://mysql8:3306/jeepaydb?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true
url: jdbc:mysql://${my.addr.mysql}:3306/jeepaydb?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true
username: root
password: jeepaydb123456
password: 123456
druid:
# 连接池配置项
initial-size: 5 #初始化时建立物理连接的个数
@ -55,22 +60,22 @@ spring:
cache:
type: redis
redis:
host: redis6
host: ${my.addr.redis}
port: 6379
database: 3 #1库运营平台 #2库商户系统 #3库支付网关
timeout: 1000
password:
# #activeMQ配置 ( 注意: activeMQ配置项需在spring的下级 )
activemq:
broker-url: failover:(tcp://activemq5:61616?wireFormat.maxInactivityDuration=0) #连接地址
in-memory: false # Jeepay项目不可使用内存模式 需要连接多个消费者。
user: system # activeMQ默认无需账密认证。 打开认证activemq.xml添加simpleAuthenticationPlugin标签账密在credentials.properties文件。
password: manager
pool:
enabled: true
max-connections: 10
idle-timeout: 30000 # 空闲的连接过期时间默认为30秒
# activemq:
# broker-url: failover:(tcp://activemq5:61616?wireFormat.maxInactivityDuration=0) #连接地址
# in-memory: false # Jeepay项目不可使用内存模式 需要连接多个消费者。
# user: system # activeMQ默认无需账密认证。 打开认证activemq.xml添加simpleAuthenticationPlugin标签账密在credentials.properties文件。
# password: manager
# pool:
# enabled: true
# max-connections: 10
# idle-timeout: 30000 # 空闲的连接过期时间默认为30秒
#
# #rabbitmq配置 ( 注意: rabbitmq配置项需在spring的下级 )
# rabbitmq:
@ -104,7 +109,7 @@ logging:
# knife4j APIDOC文档
knife4j:
enable: false
enable: true
#系统业务参数
isys:
@ -132,6 +137,6 @@ isys:
access-key-id: KEY_KEY_KEY #AccessKeyId
access-key-secret: SECRET_SECRET_SECRET #AccessKeySecret
mq:
vender: activeMQ # 切换MQ厂商 支持:【 activeMQ rabbitMQ rocketMQ aliYunRocketMQ 】, 需正确配置 【对应的yml参数】 和 【jeepay-components-mq项目下pom.xml中的依赖包】。
# mq:
# vender: activeMQ # 切换MQ厂商 支持:【 activeMQ rabbitMQ rocketMQ aliYunRocketMQ 】, 需正确配置 【对应的yml参数】 和 【jeepay-components-mq项目下pom.xml中的依赖包】。