Commit 6102846b authored by zw's avatar zw

bug

parent fcdc072f
...@@ -620,6 +620,11 @@ class AppChat extends Basic ...@@ -620,6 +620,11 @@ class AppChat extends Basic
if ($shop_count > 0) { if ($shop_count > 0) {
return $this->response("200", "success", ["is_show_red" => true]); return $this->response("200", "success", ["is_show_red" => true]);
} }
$param["type"] = 8;
$shop_count = $msgModel->getListCountByWhere($param);
if ($shop_count > 0) {
return $this->response("200", "success", ["is_show_red" => true]);
}
$where["to_id"] = "agent_" . $params["agent_id"]; $where["to_id"] = "agent_" . $params["agent_id"];
$where["is_read"] = 0; $where["is_read"] = 0;
......
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