From d502c9b85d2c91fa8c481a8cc41902634e8d35e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Sun, 22 Mar 2026 17:09:05 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20[=EC=88=98=EC=A3=BC=EC=84=9C]=20R2=20be?= =?UTF-8?q?nding=5Fimages=20=EB=A7=B5=20=EC=97=B0=EB=8F=99=20=E2=80=94=20?= =?UTF-8?q?=EC=9E=91=EC=97=85=EC=9D=BC=EC=A7=80=EC=99=80=20=EB=8F=99?= =?UTF-8?q?=EC=9D=BC=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EC=86=8C=EC=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - buildBendingImageUrls를 public으로 변경 - getOrderDetail 응답에 bending_images 맵 포함 (R2 presigned URL) --- app/Services/QmsLotAuditService.php | 1 + app/Services/WorkOrderService.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Services/QmsLotAuditService.php b/app/Services/QmsLotAuditService.php index 606822a0..75cbfbcc 100644 --- a/app/Services/QmsLotAuditService.php +++ b/app/Services/QmsLotAuditService.php @@ -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, ], ]; diff --git a/app/Services/WorkOrderService.php b/app/Services/WorkOrderService.php index 5aeea12a..2749cab2 100644 --- a/app/Services/WorkOrderService.php +++ b/app/Services/WorkOrderService.php @@ -3709,7 +3709,7 @@ public function getWorkLog(int $workOrderId): array /** * 절곡 정적 이미지 R2 presigned URL 맵 생성 */ - private function buildBendingImageUrls(): array + public function buildBendingImageUrls(): array { $images = []; $paths = [