浏览代码

任务返回已关联容器version

kely 7 月之前
父节点
当前提交
bb5a437824
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Http/Resources/API/ContainerSimpleResource.php

+ 1 - 0
app/Http/Resources/API/ContainerSimpleResource.php

@@ -18,6 +18,7 @@ class ContainerSimpleResource extends JsonResource
             'id' => $this->id,
             'name' => $this->name,
             'task_container_id' => $this->pivot->id,
+            'version'=>$this->version,
         ];
     }
 }