正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -65,7 +65,7 @@ class Index extends Api | @@ -65,7 +65,7 @@ class Index extends Api | ||
65 | */ | 65 | */ |
66 | public function index() | 66 | public function index() |
67 | { | 67 | { |
68 | - $dept_list = Dept::where('pid',0)->field('id,image,name')->select(); | 68 | + $dept_list = Dept::where('pid',0)->field('id,image,name')->order('weigh desc')->select(); |
69 | $doctor_list = (new Doctor)->getList(['a.status'=>'1'],['a.star'=>'desc','a.createtime'=>'desc']); | 69 | $doctor_list = (new Doctor)->getList(['a.status'=>'1'],['a.star'=>'desc','a.createtime'=>'desc']); |
70 | $doctor_list = $doctor_list->items(); | 70 | $doctor_list = $doctor_list->items(); |
71 | $appointment_log = AppointmentLog::with(['doctor']) | 71 | $appointment_log = AppointmentLog::with(['doctor']) |
-
请 注册 或 登录 后发表评论