Browse Source

调整

develop
H Vs 5 days ago
parent
commit
afbeedda4f
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      app/endpoints/pipeline_endpoint.py

+ 8
- 1
app/endpoints/pipeline_endpoint.py View File

@@ -441,9 +441,16 @@ async def handle_text_async(request: Request,token_id,app_id, wxid,msg_data,from

# 回复好友
await request.app.state.gewe_service.post_text_async(token_id, app_id, callback_to_user, "我这边目前有点忙,稍后回复您好吗?")
await asyncio.sleep(random.uniform(1.5,3))
# 推送到助理
print('推送到助理')
'''
长服AI商机提醒助理
管家助理
18664262743
wxid_9pocbage7cdb22
'''
await request.app.state.gewe_service.post_text_async(token_id, app_id, 'wxid_9pocbage7cdb22', msg_content)
return



Loading…
Cancel
Save