|
|
|
@ -50,7 +50,7 @@ class Message extends BaseController |
|
|
|
if($last_id){ |
|
|
|
$where[]=['msg_id','<',$last_id]; |
|
|
|
} |
|
|
|
$list = MessageModel::getList($map, $where, 'msg_id desc', $listRows, $pageSize); |
|
|
|
$list = MessageModel::getList($map, $where, 'msg_id desc', $listRows, $pageSize, $this->uid); |
|
|
|
$data = $this->recombileMsg($list); |
|
|
|
return success('', $data, $list->total(),$list->currentPage()); |
|
|
|
} |
|
|
|
|