From 0065a06da70936c14b272fcf71325cfff7dcf97a Mon Sep 17 00:00:00 2001 From: kent Date: Mon, 28 Jul 2025 01:16:59 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EB=82=B4=EC=A0=95=EB=B3=B4=20?= =?UTF-8?q?=ED=99=95=EC=9D=B8=20API=EC=97=90=20=EC=BF=BC=EB=A6=AC=20?= =?UTF-8?q?=EC=A0=95=EB=B3=B4=20=EA=B8=B0=EB=8A=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/MemberService.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Services/MemberService.php b/app/Services/MemberService.php index a1510b4..357c43c 100644 --- a/app/Services/MemberService.php +++ b/app/Services/MemberService.php @@ -47,6 +47,8 @@ public static function getMember(int $userNo) */ public static function getMyInfo() { + if (app()->environment('local')) $debug = true; + if ($debug) DB::enableQueryLog(); // 쿼리 추적 $apiUser = app('api_user');