Commit fceb0c0b by 白满斌

顺序

parent 49586f16
...@@ -80,7 +80,7 @@ class SchoolService extends BaseService{ ...@@ -80,7 +80,7 @@ class SchoolService extends BaseService{
public function selectExamService(){ public function selectExamService(){
$ExamModel = new ExamModel(); $ExamModel = new ExamModel();
$res = $ExamModel->selectData(['is_pub'=>1]); $res = $ExamModel->selectData(['is_pub'=>1], 'id', 'DESC');
return ['code'=>0, 'msg'=>'success', 'data'=>$res]; return ['code'=>0, 'msg'=>'success', 'data'=>$res];
} }
......
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