server: port: 8070 mode: release database: host: 8.149.233.36 port: 3306 username: ai_wht_write password: 7aK_H2yvokVumr84lLNDt8fDBp6P dbname: ai_wht charset: utf8mb4 parse_time: true loc: Local max_idle_conns: 20 max_open_conns: 200 conn_max_lifetime: 3600 jwt: secret: prod_secret_key_please_change_this expire_hours: 168 wechat: app_id: "wxa5bf062342ef754d" # 微信小程序AppID,留空则使用默认登录 app_secret: "69d2a3ddc902b26f82f4b56a6e277f7a" # 微信小程序AppSecret xhs: python_service_url: "http://localhost:8000" # Python服务地址,生产环境请修改为实际地址 scheduler: enabled: true # 是否启用定时任务 publish_cron: "0 0 */2 * * *" # 每2小时执行一次(防封号策略) max_concurrent: 2 # 最大并发发布数 publish_timeout: 300 # 发布超时时间(秒) max_articles_per_user_per_run: 2 # 每轮每个用户最大发文数 max_failures_per_user_per_run: 3 # 每轮每个用户最大失败次数 max_daily_articles_per_user: 5 # 每个用户每日最大发文数(自动发布) max_hourly_articles_per_user: 1 # 每个用户每小时最大发文数(自动发布) proxy: "" # 可选:静态全局代理地址,例如 http://user:pass@ip:port user_agent: "" # 可选:自定义User-Agent,不填则使用默认 proxy_pool: enabled: true # 生产环境启用代理池 api_url: "http://api.tianqiip.com/getip?secret=lu29e593&num=1&type=txt&port=1&mr=1&sign=4b81a62eaed89ba802a8f34053e2c964"