application-dev.yml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. # ============================================================
  2. # 开发环境配置 (dev)
  3. # ============================================================
  4. logging:
  5. file:
  6. path: ./logs
  7. baidu:
  8. clue:
  9. base-url: "https://cpu-bside.baidu.com"
  10. appsid: ""
  11. token: ""
  12. public-key-path: "src/main/resources/keys/baidu-clue-rsa-public-key.pem"
  13. media-type: 4
  14. media-url: ""
  15. media-website: ""
  16. connect-timeout-seconds: 10
  17. read-timeout-seconds: 30
  18. adx:
  19. # --- Baidu ADX ---
  20. baidu-adx-endpoint: "http://adsp.baidu.com/jbssp"
  21. baidu-conversion-base-url: "https://media-interact.baidu.com"
  22. baidu-customer-name: dingzhaoming111
  23. baidu-secret: gk780scz3oi2
  24. # --- Tencent API ---
  25. tencent-api-base-url: "https://api.e.qq.com/v3.0"
  26. tencent-access-token-redis-key: "adq:access_token:78578478"
  27. tencent-android-user-action-set-id: 1222435591
  28. tencent-ios-user-action-set-id: 1222435768
  29. tencent-new-link-deduction-rate: 20
  30. tencent-act-map:
  31. "1": ACTIVATE_APP # 激活
  32. "2": PURCHASE # 付费
  33. "3": REGISTER # 注册
  34. "5": COMPLETE_ORDER # 完成订单
  35. "6": OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE_UV # 启动应用
  36. "7": CUSTOM # 自定义-关键行为
  37. "8": CUSTOM # 自定义-7日留存
  38. "9": CUSTOM # 自定义-3日留存
  39. # --- Redis ---
  40. redis-addr: "cq-crs-47p6pmwo.sql.tencentcdb.com:28036"
  41. redis-username: "hcst"
  42. redis-password: "hcst@2026qwe.."
  43. redis-db: 5
  44. redis-connect-timeout: 5s
  45. redis-command-timeout: 5s
  46. redis-shutdown-timeout: 100ms
  47. redis-validate-connection: true
  48. # --- TiDB/MySQL ---
  49. tidb-url: "jdbc:mysql://139.186.172.149:3390/adx_tencent?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true"
  50. tidb-username: hcst
  51. tidb-password: "hcst@2025"
  52. tidb-minimum-idle: 2
  53. tidb-maximum-pool-size: 10
  54. tidb-connection-timeout: 10s
  55. tidb-validation-timeout: 3s
  56. tidb-idle-timeout: 5m
  57. tidb-max-lifetime: 10m
  58. tidb-keepalive-time: 2m
  59. # --- Task ---
  60. skip-leader-election: false
  61. # --- Conversion Sync ---
  62. conversion-sync-enabled: false
  63. conversion-sync-interval: 30s
  64. # --- Callback Retry ---
  65. callback-retry-enabled: false
  66. # --- Tag Event Sync(广告位回传方式 -> Redis)---
  67. tag-event-sync-enabled: false
  68. tag-event-sync-interval: 300s
  69. # --- Honor Tag Event Sync(荣耀广告位回传方式 -> Redis)---
  70. honor-tag-event-sync-enabled: false
  71. honor-tag-event-sync-interval: 300s
  72. honor-tag-event-sync-redis-prefix: "adx:honor:tag-event:"