zengyyh 3 months ago
parent d65ff22284
commit e1cfb41bda
  1. 2
      app/admin/model/Course.php

@ -41,7 +41,7 @@ class Course extends CourseModel
// 检索查询条件
$filter = $this->getFilter($param);
$list = $this->where($filter)
->order(['course_id' => 'desc'])
->order(['sort' => 'asc','create_time' => 'desc'])
->paginate($pageSize);
return $list;
}

Loading…
Cancel
Save