aa
This commit is contained in:
parent
5694df127f
commit
ddb01d4a8f
@ -134,9 +134,8 @@ class ContractController extends BaseAdminController
|
||||
$data = Contract::where($where)
|
||||
->page($pageNo, $pageSize)
|
||||
->order('create_time desc')
|
||||
->select()
|
||||
->toArray();
|
||||
return $this->success('success',$data);
|
||||
->select();
|
||||
return $this->success('success',['lists'=>$data->toArray(),'page_no'=>$pageNo,'page_size'=>$pageSize,'count'=>$data->count()]);
|
||||
}
|
||||
|
||||
public function detail() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user