From 96a0b06706a2cb32d9ef9864cc7b807c33ad5ea6 Mon Sep 17 00:00:00 2001 From: gahusb Date: Thu, 2 Jul 2026 21:43:09 +0900 Subject: [PATCH] =?UTF-8?q?fix(phase2):=20=EC=82=AC=EC=A3=BC=20=EB=AC=B4?= =?UTF-8?q?=EB=A3=8C=ED=99=94=20=EC=9E=94=EC=9E=AC=20=EC=A0=95=EB=A6=AC=20?= =?UTF-8?q?=E2=80=94=20=EA=B2=B0=EC=A0=9C=EC=99=84=EB=A3=8C=20=EB=B0=B0?= =?UTF-8?q?=EC=A7=80=E2=86=92AI=ED=95=B4=EC=84=9D=EC=99=84=EB=A3=8C,=20?= =?UTF-8?q?=EC=9E=89=EC=97=AC=20=ED=91=9C=ED=98=84=C2=B7stale=20=EC=A3=BC?= =?UTF-8?q?=EC=84=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - SajuAISection.tsx 415행: "결제 완료" 배지 → "AI 해석 완료"로 변경 (로그인 회원 무료 정책에 맞춤) - page.tsx 86행: hasPaid = !!user → hasPaid = true 단순화 (if (user) 블록 내 중복) - page.tsx 540행: 주석 "(사주 결제 시 표시)" → "(로그인 시 표시)" 갱신 (현행 정책 반영) Tests: 30 PASS ✓ Build: success ✓ Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01AAtcmKKtqDUe4NyVgy1aLQ --- app/work/saju/result/SajuAISection.tsx | 2 +- app/work/saju/result/page.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/work/saju/result/SajuAISection.tsx b/app/work/saju/result/SajuAISection.tsx index 63b1ed7..4f357bb 100644 --- a/app/work/saju/result/SajuAISection.tsx +++ b/app/work/saju/result/SajuAISection.tsx @@ -412,7 +412,7 @@ export default function SajuAISection({ 재생성 - 결제 완료 + AI 해석 완료 diff --git a/app/work/saju/result/page.tsx b/app/work/saju/result/page.tsx index 0154502..f3f704a 100644 --- a/app/work/saju/result/page.tsx +++ b/app/work/saju/result/page.tsx @@ -83,7 +83,7 @@ export default async function SajuResultPage({ searchParams }: PageProps) { const supabase = await createClient(); const { data: { user } } = await supabase.auth.getUser(); if (user) { - hasPaid = !!user; + hasPaid = true; if (hasPaid) { // 1차: birth_hour 포함 정확한 키로 조회 @@ -537,7 +537,7 @@ export default async function SajuResultPage({ searchParams }: PageProps) { ); })()} - {/* 오늘의 운세 (사주 결제 시 표시) */} + {/* 오늘의 운세 (로그인 시 표시) */} {hasPaid && (