Commit 02fc2f87 authored by clone's avatar clone

bug

parent 4c95c5c4
...@@ -230,14 +230,14 @@ class ChatService ...@@ -230,14 +230,14 @@ class ChatService
*/ */
public function saveSendStatus($response, $target, $from, $msg_content) public function saveSendStatus($response, $target, $from, $msg_content)
{ {
$response = json_decode($response, true); /* $response = json_decode($response, true);
//目前没有针对多人聊天 //目前没有针对多人聊天
$status = isset($response["data"][$target[0]]) ? $response["data"][$target[0]] : "faild"; $status = isset($response["data"][$target[0]]) ? $response["data"][$target[0]] : "faild";
$error_reason = ""; $error_reason = "";
if ($status != "success") { if ($status != "success") {
$error_reason = "环信发送异常"; $error_reason = "环信发送异常";
} }
$this->insertPushLog($from, $target[0], $msg_content, $status, $error_reason); $this->insertPushLog($from, $target[0], $msg_content, $status, $error_reason);*/
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment