Ver código fonte

调整日志

d1
H Vs 3 semanas atrás
pai
commit
469cebba59
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      app/endpoints/pipeline_endpoint.py

+ 1
- 1
app/endpoints/pipeline_endpoint.py Ver arquivo

@@ -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)


Carregando…
Cancelar
Salvar