Browse Source

调整

c1
H Vs 1 month ago
parent
commit
786d84440e
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      app/endpoints/pipeline_endpoint.py

+ 3
- 3
app/endpoints/pipeline_endpoint.py View File

@@ -81,9 +81,9 @@ async def handle_messages_async(request: Request,token_id,msg):
msg_data=msg.get("Data")
type_name =msg.get("TypeName")

app_id = msg.get("Appid")
from_wxid=msg_data["FromUserName"]["string"]
msg_content=msg_data["Content"]["string"]
# app_id = msg.get("Appid")
# from_wxid=msg_data["FromUserName"]["string"]
# msg_content=msg_data["Content"]["string"]
wxid = msg.get("Wxid",'')

match type_name:


Loading…
Cancel
Save