central-pay-test.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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-test
  11. password: nacos-test
  12. namespace: ffd9f5b8-7150-4750-a51b-815f4e46c29c
  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-test
  26. password: nacos-test
  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: root
  36. password: 123456
  37. # rabbitmq配置
  38. rabbitmq:
  39. host: rabbitmq-hostname
  40. port: 5672
  41. username: central-test
  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: debug
  56. config:
  57. file-path:
  58. root: /
  59. pay-notify:
  60. host: https://central-test.atmob.com
  61. pay-status:
  62. payTimeoutSeconds: 3600
  63. pullTimeoutOutTradeNoCount: 5
  64. transferTimeoutSeconds: 300
  65. pullTimeoutOutTransferNoCount: 5
  66. ali-agreement:
  67. enable: false
  68. wf-transfer:
  69. baseUrl: http://101.42.105.13
  70. apiKey: 2f4cf89ec8de4e45824040199b8c10d8
  71. apiSecret: 1ffb95c08d3748599c95574052516ba8
  72. pay-error:
  73. warnEnabled: false
  74. webhookUrl: 'https://open.feishu.cn/open-apis/bot/v2/hook/7a458d4f-a31e-48b6-b9ed-dbce22d6f3af'
  75. filters:
  76. - name: '微信商户今日付款额度已达上限'
  77. cooldownMillis: 600000
  78. atAll: true
  79. keywords:
  80. - 'SEND_MONEY_LIMIT'
  81. - name: '微信商户付款余额不足'
  82. cooldownMillis: 600000
  83. atAll: true
  84. keywords:
  85. - 'NOTENOUGH'
  86. - name: '微信商户账户付款受限'
  87. cooldownMillis: 600000
  88. atAll: true
  89. keywords:
  90. - 'PAYER_ACCOUNT_ABNORMAL'
  91. risk-merchant:
  92. excluded:
  93. - 0
  94. filters:
  95. - name: '接口调用权限不足'
  96. riskCount: 5
  97. keywords:
  98. - '接口调用权限不足'
  99. serviceUrl:
  100. # 提现上报url
  101. transfer-report: https://i90okxj.v8dashen.com:4695