修复:完善 Granary 控制器 detail 依赖模型参数注入
这个提交包含在:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户