xiaoyong931011
2023-05-15 98cac7c25374d43b0039dc62e2042adf16883635
正式环境
2 files modified
27 ■■■■■ changed files
src/main/java/cc/mrbird/febs/rabbit/consumer/AgentConsumer.java 2 ●●● patch | view | raw | blame | history
src/main/resources/application-prod.yml 25 ●●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/rabbit/consumer/AgentConsumer.java
@@ -34,7 +34,7 @@
//        log.info("消费者:{}", new String(message.getBody()));
//    }
    @RabbitListener(queues = "queue_order_delay")
    @RabbitListener(queues = "queue_h_order_delay")
    public void orderCancelDelay(String id) {
        try {
            orderInfoService.autoCancelOrder(Long.parseLong(id));
src/main/resources/application-prod.yml
@@ -2,7 +2,7 @@
  datasource:
    dynamic:
      # 是否开启 SQL日志输出,生产环境建议关闭,有性能损耗
      p6spy: true
      p6spy: false
      hikari:
        connection-timeout: 30000
        max-lifetime: 1800000
@@ -15,20 +15,20 @@
      datasource:
        # 数据源-1,名称为 base
        base:
          username: db_mall
          password: mall!@#123
          username: db_gzyp_prd
          password: gzyp123!@#123
          driver-class-name: com.mysql.cj.jdbc.Driver
          url: jdbc:mysql://127.0.0.1:3306/db_mall?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
          url: jdbc:mysql://121.43.43.93:3306/db_gzyp_prd?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
  redis:
    # Redis数据库索引(默认为 0)
    database: 0
    # Redis服务器地址
    host: 127.0.0.1
    host: 121.43.43.93
    # Redis服务器连接端口
    port: 6379
    # Redis 密码
    password: zhongji-mall=-0
    password: gzyp-mall=-0
    lettuce:
      pool:
        # 连接池中的最小空闲连接
@@ -42,10 +42,10 @@
    # 连接超时时间(毫秒)
    timeout: 5000
  rabbitmq:
    host: 127.0.0.1
    host: 121.43.43.93
    port: 5672
    username: zj_mall
    password: zj_mall123
    username: ct_rabbit
    password: 123456
    publisher-confirm-type: correlated
pay:
@@ -58,3 +58,10 @@
    # 回调地址
    noticeUrl: http://120.27.238.55:8801/api/pay/aliCallBack
    domain: https://openapi.alipay.com/gateway.do
  wx:
    appId: wxdf3340fe7591375d
    mchId: 1644265360
    mchKey: wqri51aCfiG31o4IcdX3dW12qnX3u4hp
    keyPath: classpath:cert/apiclient_cert.p12
    noticeUrl: https://gzypapi.meiao.biz/api/pay/wxPayCallBack