Commit 13482bae authored by zhuwei's avatar zhuwei

获取未读消息

parent 6b955973
......@@ -654,7 +654,7 @@ class AppChat extends Basic
$param["is_read"] = 0;
//TODO 获取未读个数
$msgModel = new MPushMessage();
$param["type"] = array("in", "1,2,3,8");
$param["type"] = array("in", "1,2,3,8,10,11");
$shop_count = $msgModel->getListCountByWhere($param);
if ($shop_count > 0) {
return $this->response("200", "success", ["is_show_red" => true]);
......
......@@ -183,7 +183,8 @@ class ImageDepot extends Basic
public function ceshi()
{
big_log('=============测试=================');
}
......
......@@ -592,6 +592,7 @@ class GHousesToAgents extends BaseModel
$where_["create_time"] = $params["create_time"];
}
$result = $this->where($where_)->count();
// echo $this->getLastSql();
return $result;
}
......
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