...
|
...
|
@@ -243,6 +243,7 @@ class Index extends Api |
|
|
->where('status',1)
|
|
|
->where('is_recommend',1)
|
|
|
->field('status,updatetime',true)
|
|
|
->page($page,$pageNum)
|
|
|
->select();
|
|
|
|
|
|
}else{
|
...
|
...
|
@@ -284,11 +285,13 @@ class Index extends Api |
|
|
->whereOr('honor','Like',"%$keyword%")
|
|
|
->whereOr('user_id','In',$territory)
|
|
|
->field('status,updatetime',true)
|
|
|
->page($page,$pageNum)
|
|
|
->select();
|
|
|
}else{
|
|
|
$data = Db::name('teacher')
|
|
|
->where('status',1)
|
|
|
->field('status,updatetime',true)
|
|
|
->page($page,$pageNum)
|
|
|
->select();
|
|
|
}
|
|
|
}
|
...
|
...
|
|