Commit 9f0659e6 authored by wwccw0591's avatar wwccw0591

jpush

parent 17d7adab
......@@ -80,7 +80,7 @@ class MessageOneModel extends \DAO\AbstractModel {
}
parent::setDb();
$where=Common::format(" fromId={0} or toId={1}",$memberId,$memberId);
$messages=$this->lists($where,'',$field,$pageIndex,$pageSize);
$messages=$this->lists($where,array('gmtUpdate'=>'desc'),$field,$pageIndex,$pageSize);
return $messages;
}
public function update($data,$where=array()){
......
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