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); $filter = $this->getFilter($param);
$list = $this->where($filter) $list = $this->where($filter)
->order(['course_id' => 'desc']) ->order(['sort' => 'asc','create_time' => 'desc'])
->paginate($pageSize); ->paginate($pageSize);
return $list; return $list;
} }

Loading…
Cancel
Save