完善 NDX 日报调度与 QQBot 鉴权

This commit is contained in:
2026-06-06 13:36:51 +08:00
parent e2af2eff79
commit e72ec9ffa3
3 changed files with 453 additions and 35 deletions
+10 -2
View File
@@ -23,8 +23,10 @@ network:
qqbot:
appid: "用户填写"
appkey: "用户填写"
appsecret: "用户填写"
# 也可通过环境变量 QQBOT_APPID、QQBOT_SECRET 提供,环境变量优先。
token_api: https://bots.qq.com/app/getAppAccessToken
token_retry_count: 1
base_api: https://api.sgroup.qq.com
# c2c 表示私聊,group 表示群聊
@@ -42,4 +44,10 @@ qqbot:
report:
timezone_trade: America/New_York
timezone_delivery: Asia/Shanghai
replay_on_weekdays: true
# 美股收盘后,下一个北京时间 08:00 推送;中国休息日后的首个工作日复述最近收盘。
delivery_hour: 8
replay_after_china_holiday: true
# Haoshenqi0123/holiday v2:实际请求 /today 和 /yesterday。
# 获取失败时回退为周一至周五工作、周六日休息。
holiday_api_v2: https://api.haoshenqi.top/holiday
holiday_api_timeout_seconds: 5