浏览代码

add:增加代码

zhusc 2 月之前
父节点
当前提交
0550bd4921
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      coze_bot_api.py

+ 1 - 1
coze_bot_api.py

@@ -255,7 +255,7 @@ async def verify(msg_signature: str, timestamp: str, nonce: str, echostr: str):
 user_bot_id_mapping = {}
 #
 @app.post("/bot")
-async def recv(msg_signature: str, timestamp: str, nonce: str, request: Request, background_tasks: BackgroundTasks):
+async def recv(msg_signature: str, timestamp: str, nonce: str, request: Request):
     #start_time = time.time()
     body = await request.body()
     request_id = str(uuid.uuid4())