fix(phase2): 사주 무료화 잔재 정리 — 결제완료 배지→AI해석완료, 잉여 표현·stale 주석

- 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AAtcmKKtqDUe4NyVgy1aLQ
This commit is contained in:
2026-07-02 21:43:09 +09:00
parent 26fef53174
commit 96a0b06706
2 changed files with 3 additions and 3 deletions

View File

@@ -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 && (
<SajuFortuneSection
yongShin={analysis.yongShin.yongShin}