feat: [수주서] R2 bending_images 맵 연동 — 작업일지와 동일 이미지 소스

- buildBendingImageUrls를 public으로 변경
- getOrderDetail 응답에 bending_images 맵 포함 (R2 presigned URL)
This commit is contained in:
김보곤
2026-03-22 17:09:05 +09:00
parent 8a9c6dc799
commit d502c9b85d
2 changed files with 2 additions and 1 deletions

View File

@@ -559,6 +559,7 @@ private function getOrderDetail(int $id): array
'right' => $motorRight,
],
'bending_parts' => $bendingParts,
'bending_images' => app(\App\Services\WorkOrderService::class)->buildBendingImageUrls(),
'subsidiary_parts' => $subsidiaryParts,
],
];

View File

@@ -3709,7 +3709,7 @@ public function getWorkLog(int $workOrderId): array
/**
* 절곡 정적 이미지 R2 presigned URL 맵 생성
*/
private function buildBendingImageUrls(): array
public function buildBendingImageUrls(): array
{
$images = [];
$paths = [