12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- # 端口
- server:
- port: 8099
- servlet:
- context-path: /pro
- spring:
- # 数据源配置
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- url: jdbc:mysql://127.0.0.1:3306/smart_face?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8
- username: root
- password: 123456
- # 是否打开sql监控台 (生产环境请务必关闭此选项)
- druid:
- stat-view-servlet:
- enabled: true
- web-stat-filter:
- enabled: true
- filter:
- config:
- enabled: true
- # redis配置
- redis:
- # Redis数据库索引(默认为0)
- database: 1
- # Redis服务器地址
- host: 127.0.0.1
- # Redis服务器连接端口
- port: 6379
- # Redis服务器连接密码(默认为空)
- # password:
- # 连接超时时间(毫秒)
- timeout: 1000ms
- lettuce:
- pool:
- # 连接池最大连接数
- max-active: 200
- # 连接池最大阻塞等待时间(使用负值表示没有限制)
- max-wait: -1ms
- # 连接池中的最大空闲连接
- max-idle: 10
- # 连接池中的最小空闲连接
- min-idle: 0
-
- # 项目自定义配置
- myconfig:
- # 本项目部署到的服务器域名(文件上传等等模块 要用到)
- domain: http://192.168.3.27:8099/pro
- ip: 192.168.3.27
- net-ip: 192.168.3.27
- heart-port: 9999
- command-port: 8888
- command-prefix: "command:"
- heart-prefix: "heart:"
- gate-port: 8131
- limit-user-count: 45000
- wx:
- enable: true
- app-id: wxd40a34141872bf0c
- app-secret: 2e6a69fab1fbab60369ebd21b0882f3e
- access-token-key: wechat:base_token_key
- js-api-ticket-key: wechat:jsapi_ticket_key
- access-token-url: https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=${wx.app-id}&secret=${wx.app-secret}
- auth-login-url: https://open.weixin.qq.com/connect/oauth2/authorize?appid=${wx.app-id}&redirect_uri=REDIRECT_URI&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect
- js-api-token-url: https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=ACCESS_TOKEN&type=jsapi
- openid-url: https://api.weixin.qq.com/sns/oauth2/access_token?appid=${wx.app-id}&secret=${wx.app-secret}&code=CODE&grant_type=authorization_code
- send-msg-url: https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=ACCESS_TOKEN
- domain: http://127.0.0.1:8080/h5
- report-detail: ${wx.domain}/pages/detail/report-detail
- temperature-error-template: WtTlUMCtJp6dSPXLJg_RdsmX4811aDkEkHuX0Txfgfg
- health-status-template: IEzVk2HCvctwXZzaGaElWQpRskolYlZSahTZXbJhuVM
|