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');