central-pay-dev.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. server:
  2. port: 0 #端口
  3. spring:
  4. cloud:
  5. # nacos
  6. nacos:
  7. discovery:
  8. register-enabled: true
  9. server-addr: 127.0.0.1:8848
  10. username: nacos-dev
  11. password: nacos-dev
  12. namespace: 33360858-b0c2-4364-b8fb-d8879aa272a0
  13. circuitbreaker:
  14. sentinel:
  15. enabled: true
  16. sentinel:
  17. enabled: true
  18. transport:
  19. dashboard: 127.0.0.1:8858
  20. port: 0
  21. datasource:
  22. ds-flow-rules:
  23. nacos:
  24. server-addr: 127.0.0.1:8848
  25. username: nacos-dev
  26. password: nacos-dev
  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://127.0.0.1:3306/central?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=Asia/Shanghai
  35. username: root
  36. password: 123456
  37. # rabbitmq配置
  38. rabbitmq:
  39. host: 127.0.0.1
  40. port: 5672
  41. # redis配置
  42. redis:
  43. host: 127.0.0.1
  44. port: 6379
  45. database: 0
  46. password: HorO9496sCopE
  47. clientName: ${spring.application.name}-redis
  48. # 日志配置
  49. logging:
  50. level:
  51. com:
  52. atmob:
  53. central: debug
  54. mybatis:
  55. configuration:
  56. logImpl: org.apache.ibatis.logging.stdout.StdOutImpl
  57. config:
  58. file-path:
  59. root: E:/workspace/central-platform/
  60. pay-notify:
  61. host: https://central-test.atmob.com
  62. pay-status:
  63. payTimeoutSeconds: 3600
  64. pullTimeoutOutTradeNoCount: 5
  65. transferTimeoutSeconds: 300
  66. pullTimeoutOutTransferNoCount: 5
  67. ali-agreement:
  68. enable: true
  69. wf-transfer:
  70. baseUrl: http://101.42.105.13
  71. apiKey: 2f4cf89ec8de4e45824040199b8c10d8
  72. apiSecret: 1ffb95c08d3748599c95574052516ba8
  73. pay-error:
  74. warnEnabled: false
  75. webhookUrl: 'https://open.feishu.cn/open-apis/bot/v2/hook/7a458d4f-a31e-48b6-b9ed-dbce22d6f3af'
  76. filters:
  77. - name: '微信商户今日付款额度已达上限'
  78. cooldownMillis: 600000
  79. atAll: true
  80. keywords:
  81. - 'SEND_MONEY_LIMIT'
  82. - name: '微信商户付款余额不足'
  83. cooldownMillis: 600000
  84. atAll: true
  85. keywords:
  86. - 'NOTENOUGH'
  87. - name: '微信商户账户付款受限'
  88. cooldownMillis: 600000
  89. atAll: true
  90. keywords:
  91. - 'PAYER_ACCOUNT_ABNORMAL'
  92. risk-merchant:
  93. excluded:
  94. - 0
  95. filters:
  96. - name: '接口调用权限不足'
  97. riskCount: 5
  98. keywords:
  99. - '接口调用权限不足'
  100. serviceUrl:
  101. # 提现上报url
  102. transfer-report: http://192.168.10.10:483891