소스 검색

调整日志

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…
취소
저장