瀏覽代碼

调整日志

d1
H Vs 3 週之前
父節點
當前提交
469cebba59
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app/endpoints/pipeline_endpoint.py

+ 1
- 1
app/endpoints/pipeline_endpoint.py 查看文件

@@ -46,7 +46,7 @@ async def get_messages(request: Request, body: Dict[str, Any]):
WX_BACKLIST.extend(wxids)
# 公众号ID已gh_开头
if from_wxid in WX_BACKLIST or 'gh_' in from_wxid:
logger.warning(f'微信ID {wxid} 在黑名单,不处理')
logger.warning(f'来自微信ID {from_wxid} 在黑名单,发送给 {wxid} ,不处理')
return {"message": "收到微信回调消息"}

await handle_messages_async(request,token_id,msg)


Loading…
取消
儲存