H Vs 3 settimane fa
parent
commit
a3d3b54204
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      services/biz_service.py

+ 1
- 1
services/biz_service.py Vedi File

@@ -129,7 +129,7 @@ class BizService():
async def send_text_message_async(self, token_id, app_id, agent_wxid, intersection_wxids, text): async def send_text_message_async(self, token_id, app_id, agent_wxid, intersection_wxids, text):
for t in intersection_wxids: for t in intersection_wxids:
# 发送文本消息 # 发送文本消息
ret,ret_msg,res = await self.wxchat.post_text(token_id, app_id, t, text)
ret,ret_msg,res = await self.wxchat.post_text_async(token_id, app_id, t, text)
logger.info(f'{agent_wxid} 向 {t} 发送文字【{text}】') logger.info(f'{agent_wxid} 向 {t} 发送文字【{text}】')
# 构造对话消息并发送到 Kafka # 构造对话消息并发送到 Kafka


Loading…
Annulla
Salva