From 497ec2ad78715f02bf4cf10d2bd5cd931e8691ed Mon Sep 17 00:00:00 2001 From: H Vs Date: Fri, 28 Mar 2025 09:40:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=A7=86=E9=A2=91=E5=8F=91?= =?UTF-8?q?=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/endpoints/pipeline_endpoint.py | 2 -- services/biz_service.py | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/endpoints/pipeline_endpoint.py b/app/endpoints/pipeline_endpoint.py index 0663696..13ba073 100644 --- a/app/endpoints/pipeline_endpoint.py +++ b/app/endpoints/pipeline_endpoint.py @@ -1012,8 +1012,6 @@ async def handle_10002_msg_async(request: Request,token_id,app_id, wxid,msg_data logger.error(f"未知错误: {e}") return - - async def handle_10000_msg_async(request: Request,token_id,app_id, wxid,msg_data,from_wxid, to_wxid): ''' 修改群名称 diff --git a/services/biz_service.py b/services/biz_service.py index 6841ff2..7c32c5e 100644 --- a/services/biz_service.py +++ b/services/biz_service.py @@ -221,9 +221,9 @@ class BizService(): _, ext = os.path.splitext(filename) if ext == '.mp4': - await self.send_video_message(self, token_id, app_id, agent_wxid, intersection_wxids, file_url) + await self.send_video_message(token_id, app_id, agent_wxid, intersection_wxids, file_url) else: - await self.send_other_file_message(self, token_id, app_id, agent_wxid, intersection_wxids, file_url) + await self.send_other_file_message(token_id, app_id, agent_wxid, intersection_wxids, file_url) #time.sleep(random.uniform(1.5, 3))