From a98fedf41e88dbf8e99287738e24c9c57b040256 Mon Sep 17 00:00:00 2001 From: 黎建湛 <1529578681@qq.com> Date: Sun, 7 Feb 2021 13:22:47 +0800 Subject: [PATCH] 云客服的畅聊订单会话的自动回复的回调消息处理 --- app/controller/TestKafkaSend.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/app/controller/TestKafkaSend.php b/app/controller/TestKafkaSend.php index 454f05f..f06e651 100644 --- a/app/controller/TestKafkaSend.php +++ b/app/controller/TestKafkaSend.php @@ -100,6 +100,7 @@ class TestKafkaSend extends BaseController } else { // 获取当前taskId $taskId = Cache::inc('taskId'); + trace('taskId : '.$taskId,'test_consumer'); // 缓存taskId与消息ID Cache::set('taskId_'.$taskId,array($res['msgId'],$res['theme']), 300); $data_data = array('type' => $res['type'], 'taskId' => $taskId, 'wxid' => $res['wxid'], 'date' => time(), 'data' => isset($res['data'])?$res['data']:'', 'timeInMillis' => time()); -- libgit2 0.24.0