feat: 로또 추천 API, 텔레그램 봇 연동, 관리자 페이지 추가

- 로또 번호 추천 구독자 전용 페이지 (/services/lotto/recommend)
- NAS 몬테카를로 API 연동 + 클라이언트 사이드 폴백
- 무료 미리보기 1개 + 구독자용 프리미엄 번호 추천
- 구독 플랜 변경: 골드(900원)/플래티넘(2,900원)/다이아(9,900원)
- 텔레그램 봇 연동: 연결/해제, 웹훅, /start 명령 처리
- 마이페이지 텔레그램 연결 UI + 가이드 모달
- 관리자 페이지 (/admin): 대시보드, 회원, 서비스, 문의 관리
- Supabase 마이그레이션: profiles 텔레그램 컬럼, 신규 상품

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-16 02:12:17 +09:00
parent 2469063979
commit a95715ec6b
32 changed files with 3060 additions and 35 deletions

View File

@@ -7,26 +7,26 @@ export interface Product {
}
export const PRODUCTS: Record<string, Product> = {
lotto_basic: {
id: 'lotto_basic',
name: '로또 기본 플랜',
price: 4900,
lotto_gold: {
id: 'lotto_gold',
name: '로또 골드 플랜',
price: 900,
type: 'monthly',
description: '매주 5개 번호 조합 이메일 제공',
description: '매주 1회 번호 추천 · 이메일 발송',
},
lotto_premium: {
id: 'lotto_premium',
name: '로또 프리미엄 플랜',
lotto_platinum: {
id: 'lotto_platinum',
name: '로또 플래티넘 플랜',
price: 2900,
type: 'monthly',
description: '매주 3회 번호 + 텔레그램 알림 + 상세 분석',
},
lotto_diamond: {
id: 'lotto_diamond',
name: '로또 다이아 플랜',
price: 9900,
type: 'monthly',
description: '매주 3회 번호 + 텔레그램 알림',
},
lotto_annual: {
id: 'lotto_annual',
name: '로또 연간 플랜',
price: 89900,
type: 'annual',
description: '프리미엄 12개월 (2개월 무료)',
description: '횟수 무제한 + 연간 패턴 리포트 + 전체 기능',
},
stock_starter_install: {
id: 'stock_starter_install',