fixed
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user