Commit b35c7ca9 authored by clone's avatar clone

bug

parent 719eeaca
......@@ -480,11 +480,11 @@ class AppChat extends Basic
public function getSystemMessageByUser()
{
$params = $this->params;
/* $params = array(
"agent_id" => 5740,
$params = array(
"agent_id" => 5741,
'page_no' => '1', //第几页
'page_size' => '15' //每页多少条
);*/
);
if (!isset($params['agent_id'])) {
return $this->response("101", "请求参数错误");
}
......
......@@ -214,7 +214,7 @@ class MPushMessage
public function getListByWhere(string $field, array $params,int $page_no = 1,int $page_size = 15)
{
$this->db_
return $this->db_
->field($field)
->where($params)
->order(" id desc")
......
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