Commit 0e827ce4 authored by zhuwei's avatar zhuwei

7改8

parent 21003b26
...@@ -593,7 +593,7 @@ class AppChat extends Basic ...@@ -593,7 +593,7 @@ 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"] = 7; $param["type"] = 8;
$data["report_count"] = $msgModel->getListCountByWhere($param); $data["report_count"] = $msgModel->getListCountByWhere($param);
return $this->response("200", "success", $data); return $this->response("200", "success", $data);
} }
...@@ -616,7 +616,7 @@ class AppChat extends Basic ...@@ -616,7 +616,7 @@ class AppChat extends Basic
$param["is_read"] = 0; $param["is_read"] = 0;
//TODO 获取未读个数 //TODO 获取未读个数
$msgModel = new MPushMessage(); $msgModel = new MPushMessage();
$param["type"] = array("in", "1,2,3,7"); $param["type"] = array("in", "1,2,3,8");
$shop_count = $msgModel->getListCountByWhere($param); $shop_count = $msgModel->getListCountByWhere($param);
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]);
......
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