Commit ca076f72 authored by zhuwei's avatar zhuwei

获取商铺消息和客户消息的未读消息个数

parent 9041f29f
...@@ -587,6 +587,8 @@ class AppChat extends Basic ...@@ -587,6 +587,8 @@ class AppChat extends Basic
$data["user_count"] = $msgModel->getListCountByWhere($param); $data["user_count"] = $msgModel->getListCountByWhere($param);
$param["type"] = array("in", "1,3"); $param["type"] = array("in", "1,3");
$data["shop_count"] = $msgModel->getListCountByWhere($param); $data["shop_count"] = $msgModel->getListCountByWhere($param);
$param["type"] = 8;
$data["report_count"] = $msgModel->getListCountByWhere($param);
return $this->response("200", "success", $data); return $this->response("200", "success", $data);
} }
......
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