59 lines
1.5 KiB
YAML
59 lines
1.5 KiB
YAML
server:
|
||
port: 10589
|
||
spring:
|
||
application:
|
||
name: cashierService
|
||
datasource:
|
||
url: jdbc:p6spy:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/fycashier_test?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true
|
||
username: cashier
|
||
password: Cashier@1@
|
||
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
|
||
initialSize: 5
|
||
minIdle: 5
|
||
maxActive: 20
|
||
maxWait: 60000
|
||
redis:
|
||
# redis数据库索引(默认为0),我们使用索引为3的数据库,避免和其他数据库冲突
|
||
database: 0
|
||
# redis服务器地址(默认为localhost)
|
||
host: 101.37.12.135
|
||
# host: 127.0.0.1
|
||
# redis端口(默认为6379)
|
||
port: 6379
|
||
# redis访问密码(默认为空)
|
||
password: 111111
|
||
# redis连接超时时间(单位为毫秒)
|
||
timeout: 1000
|
||
block-when-exhausted: true
|
||
# redis连接池配置
|
||
jedis:
|
||
pool:
|
||
max-active: 8
|
||
max-idle: 1024
|
||
min-idle: 0
|
||
max-wait: -1
|
||
main:
|
||
allow-circular-references: true
|
||
rabbitmq:
|
||
host: 101.37.12.135
|
||
port: 5672
|
||
username: admin
|
||
password: Czg666888
|
||
#分页配置
|
||
pagehelper:
|
||
supportMethodsArguments: true
|
||
reasonable: true
|
||
helperDialect: mysql
|
||
params: count=countSql
|
||
mybatis:
|
||
configuration:
|
||
map-underscore-to-camel-case: true
|
||
|
||
|
||
subscribe:
|
||
message:
|
||
miniprogramState: trial
|
||
|
||
|
||
|