update
This commit is contained in:
parent
d23b798a44
commit
5806b3a0c6
|
@ -10,7 +10,7 @@ class OperationLogController extends BaseApiController
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
$fenceHouseId = $this->request->param('fence_house_id');
|
$fenceHouseId = $this->request->param('fence_house_id');
|
||||||
$list = AnimalOperateAction::where('fence_house_id', $fenceHouseId)->order('id desc')->limit(5)->select();
|
$list = AnimalOperateAction::where('fence_house_id', $fenceHouseId)->order('id desc')->limit(5)->select()->toArray();
|
||||||
return $this->success('成功', $list);
|
return $this->success('成功', $list);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue