Commit 1dbd7428 authored by hujun's avatar hujun

feed喜报

parent 6dacdc6b
...@@ -37,8 +37,7 @@ class Feed extends Basic ...@@ -37,8 +37,7 @@ class Feed extends Basic
$where[0] = ['EXP','find_in_set('.$this->agentId.',agent_id) or agent_id = -1']; $where[0] = ['EXP','find_in_set('.$this->agentId.',agent_id) or agent_id = -1'];
} }
$data['data'] = $push->getList($pageNo, $pageSize, 'id DESC', $field, $where); $data = $push->getList($pageNo, $pageSize, 'id DESC', $field, $where);
$data['total'] = $push->getTotal($where);
return $this->response(200, "", $data); return $this->response(200, "", $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