|
@@ -1,121 +0,0 @@
|
|
|
-spring:
|
|
|
- datasource:
|
|
|
- url: jdbc:mysql://172.16.90.64:3306/carbon-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:
|
|
|
- host: 172.16.90.64 # Redis服务器地址
|
|
|
- database: 0 # Redis数据库索引(默认为0)
|
|
|
- port: 6379 # Redis服务器连接端口
|
|
|
- password: # Redis服务器连接密码(默认为空)
|
|
|
- timeout: 300ms # 连接超时时间(毫秒)
|
|
|
-
|
|
|
- rabbitmq:
|
|
|
- host: 172.16.90.64
|
|
|
- port: 5672
|
|
|
- virtual-host: /forest
|
|
|
- username: forest
|
|
|
- password: 123456
|
|
|
- publisher-confirms: true #如果对异步消息需要回调必须设置为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
|
|
|
- - /*.html
|
|
|
- - /swagger-resources/**
|
|
|
- - /swagger/**
|
|
|
- - /**/v2/api-docs
|
|
|
- - /**/*.js
|
|
|
- - /**/*.css
|
|
|
- - /**/*.png
|
|
|
- - /**/*.ico
|
|
|
- - /webjars/springfox-swagger-ui/**
|
|
|
- - /druid/**
|
|
|
- - /actuator/**
|
|
|
- - /sso/**
|
|
|
- - /wechat/**
|
|
|
- - /home/**
|
|
|
- - /product/**
|
|
|
- - /brand/**
|
|
|
- - /company/**
|
|
|
-
|
|
|
-
|
|
|
-# 消息队列定义
|
|
|
-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: wxde051d502a3d27a5
|
|
|
- accessKeySecret: lCuyL3MUQRLfoVw39W0NqWdVGoLV60
|
|
|
- signName: 慧云网安
|
|
|
-wx:
|
|
|
- mp:
|
|
|
- aesKey: 123
|
|
|
- # appId: wxbe90cc7c5233dd84
|
|
|
- appId: wxde051d502a3d27a5
|
|
|
- # secret: ec4a18ce1a7bcf17cf592c3d57cec68a
|
|
|
- secret: bdcec99f22bbc1db100d8a7a222c5fa9
|
|
|
- token: 123
|
|
|
- url: http://forest.hw.hongweisoft.com/devback/forest-portal/wechat/h5/userInfo
|
|
|
- before: http://forest.hw.hongweisoft.com
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|