From c1996216c231be388e6d80b118b237ac15d830f3 Mon Sep 17 00:00:00 2001 From: kent Date: Mon, 25 Aug 2025 23:06:55 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=A0=9C=ED=92=88=20=EC=B9=B4?= =?UTF-8?q?=ED=85=8C=EA=B3=A0=EB=A6=AC=20=EB=AA=A9=EB=A1=9D=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=20-=20static=20->=20instance=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/ProductService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/ProductService.php b/app/Services/ProductService.php index baeb004..100461c 100644 --- a/app/Services/ProductService.php +++ b/app/Services/ProductService.php @@ -14,13 +14,13 @@ class ProductService extends Service /** * 카테고리 트리 전체 조회 (parent_id = null 기준) */ - public static function getCategory($request) + public function getCategory($request) { $parentId = $request->parentId ?? null; $group = $request->group ?? 'category'; // 재귀적으로 트리 구성 - $list = self::fetchCategoryTree($parentId, $group); + $list = $this->fetchCategoryTree($parentId, $group); return $list; }