From c91fe3432e89f7088ca8c1bb094e43bd89a7c53c Mon Sep 17 00:00:00 2001 From: H Vs Date: Thu, 24 Apr 2025 09:58:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/endpoints/pipeline_endpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/endpoints/pipeline_endpoint.py b/app/endpoints/pipeline_endpoint.py index f7db097..6204bd3 100644 --- a/app/endpoints/pipeline_endpoint.py +++ b/app/endpoints/pipeline_endpoint.py @@ -353,7 +353,7 @@ async def handle_mod_contacts_worker_async(request:Request,token_id,app_id,wxid, contact_wxid = msg_data["UserName"]["string"] ret,msg,contacts_list = await request.app.state.gewe_service.fetch_contacts_list_async(token_id, app_id) friend_wxids = [c for c in contacts_list['friends'] if c not in ['fmessage', 'medianote','weixin','weixingongzhong','tmessage']] # 可以调整截取范围 - print(f'{wxid}的好友资料变更,数量 {len(friend_wxids)}') + logger.info(f'{wxid}的好友资料变更,数量 {len(friend_wxids)}') data = await request.app.state.gewe_service.save_contacts_brief_to_cache_async(token_id, app_id, wxid, friend_wxids) #k_message = wx_all_contacts_message(wxid, data)