techhero-resources-identification-local.yml 1.18 KB
Newer Older
Administrator committed
1 2 3 4 5 6 7 8 9 10 11 12 13
spring:
  profiles: local
  redis:
    database: 10
    host: 119.96.87.17
    port: 6379
    password: techhero
    timeout: 5000
    pool:
      max-active: 8
      max-wait: -1
      max-idle: 8
      min-idle: 0
14 15
      
  rabbitmq:
16 17 18 19 20 21 22 23 24 25 26 27 28 29
    host: dev-env
    port: 5672
    username: techhero
    password: techhero
    virtual-host: /framework
    listener:
      simple:
        acknowledge-mode: manual  # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
    publisher-confirms: true #确认消息已发送到交换机(Exchange)
    publisher-returns: true #确认消息已发送到队列(Queue)
    
    # 交换机
    exchanges:
      - name: identity.send.openid.exchange
30
        type: topic
31 32 33 34
    # 队列
    queues:
      - name: identity.send.openid.queue
        routing-key: identity.send.openid.key
35 36 37
        exchange-name: identity.send.openid.exchange  

# 第三方服务各参数
38
# 微信  移到application.yml里了
39 40 41 42 43 44 45
# weChat:
#   # 凭证
#   token:
#     # 小程序唯一凭证,即 AppID
#     appid: wxefc586aad11c0fe4
#     # 小程序唯一凭证密钥,即 AppSecret
#     secret: d491fa6dac431f6a31d6609478ddd071
46 47