...
|
...
|
@@ -19,6 +19,7 @@ class VolunteerModel extends Model |
|
|
public function selectData($page,$pageNum,$where=null){
|
|
|
$order = "create_time desc";
|
|
|
$where['delete_time'] = ['eq',0];
|
|
|
$where['status'] = ['eq',0];
|
|
|
$data = $this->where($where)->limit(($page * $pageNum),$pageNum)->order($order)->select()->toArray();
|
|
|
return $data;
|
|
|
}
|
...
|
...
|
|