central-pay-prod.yaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. server:
  2. port: 8080 #端口
  3. spring:
  4. cloud:
  5. # nacos
  6. nacos:
  7. discovery:
  8. register-enabled: true
  9. server-addr: nacos-server-hostname:8848
  10. username: nacos-prod
  11. password: centralprod
  12. namespace: a894fba3-ee6e-4dc7-938b-ad11112ccfa9
  13. circuitbreaker:
  14. sentinel:
  15. enabled: true
  16. sentinel:
  17. enabled: true
  18. transport:
  19. dashboard: sentinel-hostname:8858
  20. port: 8719
  21. datasource:
  22. ds-flow-rules:
  23. nacos:
  24. server-addr: nacos-server-hostname:8848
  25. username: nacos-prod
  26. password: centralprod
  27. namespace: 81037616-96ae-412c-a060-a633ba9731b9
  28. group-id: SENTINEL_GROUP
  29. data-id: ${spring.application.name}-flow-rules
  30. rule-type: flow
  31. data-type: json
  32. # 数据库配置
  33. datasource:
  34. url: jdbc:mysql://${ENV_DEFAULT_MYSQL_SERVER_ADDR}/central?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
  35. username: central
  36. password: central0510
  37. # rabbitmq配置
  38. rabbitmq:
  39. host: rabbitmq-hostname
  40. port: 5672
  41. username: central
  42. password: 240203qqqQQQWER
  43. # redis配置
  44. redis:
  45. host: redis-hostname
  46. port: 6379
  47. database: 0
  48. password: HorO9496sCopE
  49. clientName: ${spring.application.name}-redis
  50. # 日志配置
  51. logging:
  52. level:
  53. com:
  54. atmob:
  55. central: info
  56. github:
  57. binarywang: warn
  58. config:
  59. file-path:
  60. root: /
  61. pay-notify:
  62. host: https://central-os-api.atmob.com
  63. pay-status:
  64. payTimeoutSeconds: 3600
  65. pullTimeoutOutTradeNoCount: 5
  66. transferTimeoutSeconds: 300
  67. pullTimeoutOutTransferNoCount: 5
  68. ali-agreement:
  69. enable: true
  70. wf-transfer:
  71. baseUrl: http://101.42.105.13
  72. apiKey: 2f4cf89ec8de4e45824040199b8c10d8
  73. apiSecret: 1ffb95c08d3748599c95574052516ba8
  74. pay-error:
  75. warnEnabled: true
  76. webhookUrl: 'https://open.feishu.cn/open-apis/bot/v2/hook/7a458d4f-a31e-48b6-b9ed-dbce22d6f3af'
  77. filters:
  78. - name: '微信商户今日付款额度已达上限'
  79. cooldownMillis: 600000
  80. atAll: true
  81. keywords:
  82. - 'SEND_MONEY_LIMIT'
  83. - name: '微信商户付款余额不足'
  84. cooldownMillis: 600000
  85. atAll: true
  86. keywords:
  87. - 'NOTENOUGH'
  88. - name: '微信商户账户付款受限'
  89. cooldownMillis: 600000
  90. atAll: true
  91. keywords:
  92. - 'PAYER_ACCOUNT_ABNORMAL'
  93. risk-merchant:
  94. excluded:
  95. - 0
  96. filters:
  97. - name: 'ISV接口调用权限不足'
  98. riskCount: 11
  99. keywords:
  100. - 'isv.insufficient-isv-permissions'
  101. - '接口调用权限不足'
  102. serviceUrl:
  103. # 提现上报url
  104. transfer-report: https://i90okxj.v8dashen.com:4695