This commit is contained in:
chenbo 2024-01-31 17:50:52 +08:00
parent d23b798a44
commit 5806b3a0c6
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')->limit(5)->select();
$list = AnimalOperateAction::where('fence_house_id', $fenceHouseId)->order('id desc')->limit(5)->select()->toArray();
return $this->success('成功', $list);
}
}