Commit 35107fd9 authored by zhuwei's avatar zhuwei

查询收藏数据 更新时间 倒序

parent 4a9b9578
...@@ -51,7 +51,7 @@ class ACollectUser extends Model ...@@ -51,7 +51,7 @@ class ACollectUser extends Model
*/ */
public function getCollectList($pageNo,$pageSize,$field,$params) public function getCollectList($pageNo,$pageSize,$field,$params)
{ {
$order = "CollectUser.create_time desc"; $order = "CollectUser.update_time desc";
$result = Db::table($this->table) $result = Db::table($this->table)
->field($field) ->field($field)
->alias('CollectUser') ->alias('CollectUser')
......
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