소스 검색

调整

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…
취소
저장