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)