This commit is contained in:
chenbo 2024-01-31 17:47:06 +08:00
parent 23ee9cd923
commit d23b798a44
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}