6ebf705e27
- Column order: 카페24 · 네이버 · 쿠팡(윙) · 쿠팡(로켓) · 오늘의집 · G마켓 · 카카오 · GS샵 · 11번가 · 롯데ON · 토스 · 애터미아자몰 (registry + migration 003 sort_order) - Existing coupang (WING API) renamed to 쿠팡(윙) - New manual-only marketplaces coupang_rocket / atomy (adapters/manual.py, manual_only flag): skipped by sync_all, no credentials / connection test in settings, status "수동 입력", manual input always on (API refuses turning it off) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
829 B
Python
26 lines
829 B
Python
"""수동 입력 전용 쇼핑몰 — API 연동 없이 실적 일자별 표의 날짜 칸에 총매출을 직접 넣는다.
|
|
|
|
어댑터는 쇼핑몰의 "종류"만 알린다: 인증 항목이 없고(manual_only), 매출 업데이트(sync_all)에서 빠진다.
|
|
DB(perf_marketplaces)에는 manual_input = TRUE 로 넣는다(마이그레이션 003).
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .base import MarketplaceAdapter
|
|
|
|
|
|
class ManualOnlyAdapter(MarketplaceAdapter):
|
|
auth_type = "manual"
|
|
manual_only = True
|
|
note = "API 연동 없이 실적 일자별 표의 날짜 칸에 총매출을 직접 입력합니다."
|
|
|
|
|
|
class CoupangRocketAdapter(ManualOnlyAdapter):
|
|
code = "coupang_rocket"
|
|
name = "쿠팡(로켓)"
|
|
|
|
|
|
class AtomyAzmallAdapter(ManualOnlyAdapter):
|
|
code = "atomy"
|
|
name = "애터미아자몰"
|