fix: 企微 API 通过代理绕过 IP 白名单限制,补充错误日志
- 新增 WECHAT_API_BASE_URL 配置项,支持企微 API 代理转发 - _send_message 增加 API 错误日志(errcode + errmsg) - _get_access_token 增加失败日志 - handle_text 不再为空,返回菜单引导提示 - 防重入触发时通知用户等待时间 - menu.py API 调用统一使用配置化的 base URL Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -20,6 +20,9 @@ WECHAT_TOKEN=
|
||||
WECHAT_ENCODING_AES_KEY=
|
||||
WECHAT_PORT=18001
|
||||
WECHAT_HOST=0.0.0.0
|
||||
# 企微 API 代理(可选),用于绕过 IP 白名单限制
|
||||
# 留空则直连 https://qyapi.weixin.qq.com
|
||||
WECHAT_API_BASE_URL=https://qyapi.weixin.qq.com
|
||||
|
||||
# 定时任务
|
||||
SCHEDULER_ENABLED=true
|
||||
|
||||
Reference in New Issue
Block a user