From 68d6e453ddc763d72f9793c03a471a612a153291 Mon Sep 17 00:00:00 2001 From: wh <382379437@qq.com> Date: Tue, 23 Jul 2024 16:32:10 +0800 Subject: [PATCH] fixed --- digital_doctor/application/api/logic/TychatLogic.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/digital_doctor/application/api/logic/TychatLogic.php b/digital_doctor/application/api/logic/TychatLogic.php index fd4061e..6083815 100644 --- a/digital_doctor/application/api/logic/TychatLogic.php +++ b/digital_doctor/application/api/logic/TychatLogic.php @@ -77,7 +77,7 @@ class TychatLogic extends BaseLogic $clientid_arr = array_column($arr,'clientid'); $json = Tools::wss_json_ok($action, $chat_msg); - Gateway::sendToAll($json, $clientid_arr); + Gateway::sendToAll($json); ////健康小洞察 $this->getHealthInsight2($client_id,$clientid_arr,$chat_msg); @@ -182,7 +182,7 @@ class TychatLogic extends BaseLogic //return json(Tools::set_ok('查询成功',$answer_json_arr)); $json = Tools::wss_json_ok($action, 'ok',$answer_json_arr); - Gateway::sendToAll($json, $clientid_arr); + Gateway::sendToAll($json); } function getHealthInsight2($client_id,$clientid_arr,$chat_msg){ Tools::log_to_write_txt(['健康洞察,入参'=>['域名'=>request()->controller().'/'.request()->action()]]); @@ -214,6 +214,6 @@ class TychatLogic extends BaseLogic Tools::log_to_write_txt(['健康洞察,出参'=>$answer_json_arr]); $json = Tools::wss_json_ok($action, 'ok',$answer_json_arr); - Gateway::sendToAll($json, $clientid_arr); + Gateway::sendToAll($json); } } \ No newline at end of file