From d4ff221fa3dd92833f9d20b11a78067d44f3813a Mon Sep 17 00:00:00 2001 From: wikiboss Date: Thu, 15 Oct 2026 15:59:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E5=AE=8C=E5=96=84?= =?UTF-8?q?=20Granary=20=E6=8E=A7=E5=88=B6=E5=99=A8=20detail=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E6=A8=A1=E5=9E=8B=E5=8F=82=E6=95=B0=E6=B3=A8=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Granary.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/api/controller/Granary.php b/application/api/controller/Granary.php index aca7213..03ff5b9 100644 --- a/application/api/controller/Granary.php +++ b/application/api/controller/Granary.php @@ -3,6 +3,8 @@ namespace app\api\controller; use app\common\model\GranaryModel; +use app\common\model\TestingModel; +use app\common\model\TestingParamsModel; /** * 粮仓数字孪生API控制器 (原生支持 /api/granary/* 路径映射) @@ -25,6 +27,6 @@ class Granary extends Index */ public function detail() { - return $this->granaryDetail(new GranaryModel()); + return $this->granaryDetail(new GranaryModel(), new TestingModel(), new TestingParamsModel()); } }