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