96a0b06706
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
2026-07-02 21:43:09 +09:00
26fef53174
feat(phase2): 사주 AI 해석 무료화 — 결제 게이트 → 로그인 게이트
...
- page.tsx: hasPaid를 orders 'saju_detail' paid 조회 대신 로그인 여부(!!user)로 산출
- SajuAISection: 미로그인 시 "개편 준비 중" 안내를 /login?next= 유도 CTA로 교체
- analyze fetch가 429(일일 무료 횟수 초과)를 받으면 전용 에러 메시지 표시(재시도 버튼 숨김)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-02 21:36:13 +09:00
5fd7ab8872
feat(phase2): 사주 공개 전환 + analyze 로그인·일일제한(서버 강제)
...
- app/work/saju/layout.tsx: isServiceVisible 가드 제거, 사주 서비스 공개 전환
- lib/service-visibility.ts: HideableService에서 saju 제거
- app/api/admin/services/route.ts: DEFAULT_SERVICES에서 saju 행 제거
- app/api/saju/analyze/route.ts: saju_detail 결제 게이트(403) 제거,
로그인(401) + 서버측 일일 1회 제한(429, ai_usage_log 기반)으로 교체.
recordUsage는 실제 Gemini 해석 성공 반환 직전에만 호출(MOCK 폴백 제외)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-02 21:28:24 +09:00
1e926fcb19
chore(phase0): PortOne 잔재 제거 — 계좌이체 단일 소스 확정, saju 결제 CTA 제거
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-02 14:12:38 +09:00
8e1cf9b4e1
chore(phase0): packages·subscription 제거 — 페이지/API/cron/vercel.json + 파급(stats·members·saju) 수정
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-02 14:07:56 +09:00
b13ddd3841
feat(visibility): 사주·음악·설문·패키지 라우트 숨김 가드 적용
2026-06-11 01:35:46 +09:00
31c376da07
feat(work): /work/saju + input + result — 현 /saju 컨텐츠 이동
...
- saju 페이지 + 입력 폼 + 결과 + AI 해석 + 사주 컴포넌트 모두 이동
- depth 변경 → 모든 import @/ 절대 경로
- 내부 Link href + router.push 새 URL로
- 카탈로그 spec(49만 코어 + 11 모듈)은 보류 — 무료 사주 분석만 마이그
- API route /api/saju/* 변경 없음
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-16 03:39:14 +09:00