123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- spring:
- datasource:
- url: jdbc:mysql://172.16.90.253:3306/forest-cloud-mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
- username: root
- password: 123456
- druid:
- initial-size: 5 #连接池初始化大小
- min-idle: 10 #最小空闲连接数
- max-active: 20 #最大连接数
- web-stat-filter:
- exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" #不统计这些请求数据
- stat-view-servlet: #访问监控网页的登录用户名和密码
- login-username: druid
- login-password: druid
- boot:
- admin:
- client:
- # admin 服务端的地址
- url: http://localhost:9091
- redis:
- # Redis服务器地址
- host: 172.16.90.64
- # Redis数据库索引(默认为0)
- database: 0
- # Redis服务器连接端口
- port: 6379
- password: # Redis服务器连接密码(默认为空)
- timeout: 300ms # 连接超时时间(毫秒)
- rabbitmq:
- host: 172.16.90.64
- port: 5672
- virtual-host: /forest
- username: forest
- password: 123456
- #如果对异步消息需要回调必须设置为true
- publisher-confirms: true
- # 日志配置
- logging:
- level:
- org.springframework.data.mongodb.core: debug
- com.hwrj.cloud.portal.mapper: debug
- com.hwrj.cloud.portal.dao: debug
- mybatis:
- mapper-locations:
- - classpath:dao/*.xml
- - classpath*:com/**/mapper/*.xml
- jwt:
- tokenHeader: Authorization #JWT存储的请求头
- secret: forest-admin-secret #JWT加解密使用的密钥
- expiration: 604800 #JWT的超期限时间(60*60*24*7)
- tokenHead: Bearer #JWT负载中拿到开头
- secure:
- ignored:
- urls: #安全路径白名单
- - /swagger-ui.html
- - /swagger-resources/**
- - /swagger/**
- - /**/v2/api-docs
- - /**/*.js
- - /**/*.css
- - /**/*.png
- - /**/*.ico
- - /webjars/springfox-swagger-ui/**
- - /druid/**
- - /actuator/**
- - /sso/**
- - /wechat/**
- - /home/**
- - /product/**
- - /brand/**
- # 消息队列定义
- rabbitmq:
- queue:
- name:
- cancelOrder: cancelOrderQueue
- # 自定义redis key
- redis:
- database: forest
- key:
- authCode: 'ums:authCode'
- telLoginCode: 'ums:authCode'
- orderId: 'oms:orderId'
- member: 'ums:member'
- token: 'ums:token'
- expire:
- authCode: 90 # 验证码超期时间
- authLoginCode: 240 # 验证码超期时间
- common: 86400 # 24小时
- forest:
- wx:
- password: forest123456
- sms:
- accessKeyId: LTAICB9TH0OAN3yJ
- accessKeySecret: lCuyL3MUQRLfoVw39W0NqWdVGoLV60
- signName: 慧云网安
- wx:
- mp:
- aesKey: 123
- appId: wxbe90cc7c5233dd84
- secret: ec4a18ce1a7bcf17cf592c3d57cec68a
- token: 123
- url: http://tanhui.hongweisoft.com/forest-portal/wechat/h5/userInfo
- before: http://172.16.90.25:8080
|