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