瀏覽代碼

调整

develop
H Vs 1 周之前
父節點
當前提交
afbeedda4f
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. +8
    -1
      app/endpoints/pipeline_endpoint.py

+ 8
- 1
app/endpoints/pipeline_endpoint.py 查看文件

@@ -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…
取消
儲存