# ============================================================ # 开发环境配置 (dev) # ============================================================ logging: file: path: ./logs baidu: clue: base-url: "https://cpu-bside.baidu.com" appsid: "" token: "" public-key-path: "src/main/resources/keys/baidu-clue-rsa-public-key.pem" media-type: 4 media-url: "" media-website: "" connect-timeout-seconds: 10 read-timeout-seconds: 30 adx: # --- Baidu ADX --- baidu-adx-endpoint: "http://adsp.baidu.com/jbssp" baidu-conversion-base-url: "https://media-interact.baidu.com" baidu-customer-name: dingzhaoming111 baidu-secret: gk780scz3oi2 baidu-tracking-max-redirects: 20 # --- Tencent API --- tencent-api-base-url: "https://api.e.qq.com/v3.0" tencent-access-token-redis-key: "adq:access_token:78578478" tencent-android-user-action-set-id: 1222435591 tencent-ios-user-action-set-id: 1222435768 tencent-act-map: "1": ACTIVATE_APP # 激活 "2": PURCHASE # 付费 "3": REGISTER # 注册 "5": COMPLETE_ORDER # 完成订单 "6": OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE_UV # 启动应用 "7": CUSTOM # 自定义-关键行为 "8": CUSTOM # 自定义-7日留存 "9": CUSTOM # 自定义-3日留存 # --- Redis --- redis-addr: "cq-crs-47p6pmwo.sql.tencentcdb.com:28036" redis-username: "hcst" redis-password: "hcst@2026qwe.." redis-db: 5 redis-connect-timeout: 5s redis-command-timeout: 5s redis-shutdown-timeout: 100ms redis-validate-connection: true # --- TiDB/MySQL --- tidb-url: "jdbc:mysql://139.186.172.149:3390/adx_tencent?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true" tidb-username: hcst tidb-password: "hcst@2025" tidb-minimum-idle: 2 tidb-maximum-pool-size: 10 tidb-connection-timeout: 10s tidb-validation-timeout: 3s tidb-idle-timeout: 5m tidb-max-lifetime: 10m tidb-keepalive-time: 2m report-database-name: "adx_report" ad-bid-report-enabled: false ad-bid-report-interval: 5m ad-bid-report-retention-days: 30 tracking-report-retention-days: 3 ad-bid-report-archive-batch-size: 5000 ad-bid-report-archive-max-batches-per-run: 20 ad-bid-report-stats-run-times: ["01:00", "10:00", "17:00"] ad-bid-report-stats-lookback-days: 7 # --- Task --- skip-leader-election: false # --- Conversion Sync --- conversion-sync-enabled: false conversion-sync-interval: 30s # --- Callback Retry --- callback-retry-enabled: false # --- Tag Event Sync(广告位回传方式 -> Redis)--- tag-event-sync-enabled: false tag-event-sync-interval: 300s # --- Honor Tag Event Sync(荣耀广告位回传方式 -> Redis)--- honor-tag-event-sync-enabled: false honor-tag-event-sync-interval: 300s honor-tag-event-sync-redis-prefix: "adx:honor:tag-event:" # --- Vivo Callback --- vivo-conversion-base-url: "https://marketing-api.vivo.com.cn" vivo-redis-stream: "adx:vivo:events" vivo-callback-retry-enabled: false vivo-callback-retry-interval: 300s vivo-callback-retry-limit: 100 vivo-tag-event-sync-enabled: false vivo-tag-event-sync-interval: 300s vivo-tag-event-sync-redis-prefix: "adx:vivo:tag-event:" vivo-redirect-uri: "/vivo/callback" vivo-token-redis-prefix: "adx:vivo:token:" vivo-token-refresh-enabled: true vivo-token-refresh-interval: 3600s vivo-token-refresh-ahead: 86400s vivo-advertiser-sync-enabled: true vivo-advertiser-sync-interval: 600s vivo-advertiser-redis-prefix: "adx:vivo:advertiser:"