123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- server:
- port: 8081
- spring:
- datasource:
- # 外网
- url: jdbc:mysql://rm-uf632y0g7ed0y3i9xyo.mysql.rds.aliyuncs.com:3306/fhm_xiaomai_jisu?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
- username: youbaidi2021
- password: baisong@2021
- driver-class-name: com.mysql.jdbc.Driver
- type: com.zaxxer.hikari.HikariDataSource
- # 下面为连接池的补充设置,应用到上面所有数据源中
- # 初始化大小,最小,最大
- max-idle: 10
- max-wait: 1000
- min-idle: 5
- initial-size: 5
- output.ansi.enabled: always
- # 配置druid
- druid:
- # 配置获取连接等待超时的时间
- maxWait: 60000
- # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
- timeBetweenEvictionRunsMillis: 60000
- minEvictableIdleTimeMillis: 300000
- validationQuery: SELECT 1 FROM user
- testWhileIdle: true
- testOnBorrow: true
- testOnReturn: false
- # 打开PSCache,并且指定每个连接上PSCache的大小
- poolPreparedStatements: true
- maxPoolPreparedStatementPerConnectionSize: 20
- # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
- filters: stat,wall,log4j
- connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
- # 合并多个DruidDataSource的监控数据
- #useGlobalDataSourceStat: true
- # Redis
- #数据库索引(默认为0)
- redis:
- database: 0
- # Redis服务器地址
- host: r-uf6s2bntltbncgcxtfpd.redis.rds.aliyuncs.com
- # Redis服务器连接端口
- port: 6379
- # Redis服务器连接密码(默认为空)
- password: baisong@2021
- # 连接超时时间(毫秒)
- timeout: 1000
- block-when-exhausted: true
- # 连接池最大连接数(使用负值表示没有限制)
- pool:
- max-active: 1024
- # 连接池最大阻塞等待时间(使用负值表示没有限制)
- max-wait: 10000
- # 连接池中的最大空闲连接
- max-idle: 200
- # 连接池中的最小空闲连接
- min-idle: 0
- #返回时间处理
- jackson:
- date-format: yyyy-MM-dd HH:mm:ss
- #rabbitMq配置
- rabbitmq:
- application:
- name: stream-rabbitmq-producer
- host: amqp-cn-n6w24h52001y.mq-amqp.cn-shanghai-867405-a.aliyuncs.com
- port: 5672
- username: LTAI5tMh7AirYwG4Gz1rqZ6V
- password: 3QJBePoQrd9RlgCyfBbOKc1CzfROmT
- virtual-host: youbaidi_dev
- publisher-confirms: true
- publisher-returns: true
- listener:
- simple:
- acknowledge-mode: manual
- concurrency: 10
- max-concurrency: 20
- retry:
- #是否支持重试
- enabled: true
- prefetch: 250
- #短信发送消息
- smsQueueName: sms_queue
- smsRoutingKey: sms_key
- smsExchangeName: sms_exchange
- #手机号同步
- phoneQueueName: phone_lib_queue
- phoneExchangeName: phone_lib_exchange
- phoneRoutingKey: phone_lib_key
- #快递发送第三方信息
- expressQueue: express_queue
- expressExchange: express_exchange
- expressKey: express_key
- #微信签收提醒
- wechatQueue: wechat_queue
- wechatExahcange: wechat_exahcange
- wechatKey: wechat_key
- #mybatis配置
- mybatis:
- mapper-locations: classpath:com/parksong/mapper/*/*.xml
- type-aliases-package: com.parksong.beans
- #xxl-job配置
- xxl:
- job:
- admin:
- addresses: http://xxljob.fengzhan100.com/xxl-job-admin
- executor:
- appname: gp-exp-server
- ip:
- port: 2336
- logpath: /data/applogs/xxl-job/jobhandler
- logretentiondays: 10
- accessToken:
- #guoanFtp
- #ftp:
- url: 120.55.56.222
- port: 21
- username: fz2018
- password: Fz_2018_ftptrans
- #系统配置
- fastdfs:
- tracker_http: 172.19.0.161:22122/
- #微信配置
- wechat:
- weChatKey: YOUBAIMIyoubaimi12345678qwertyui
- appId: wxa81b778220fd83f7
- weChatApi: https://api.weixin.qq.com
- mch_id: 1611844958
- shopKey: 1611844958
- secret: fcff3120b3042c6ea377df98c948f70a
|