62cc5e2778
- 실적 틱톡 탭·tiktok_ads 광고 API·테스트 삭제, 틱톡 데이터 삭제 SQL(performance_db 012) - 말레이시아 실적: 실적 라우터·화면을 /malaysia/performance 에 한 번 더 마운트, 차이는 performance/variant.py(KR·MY) 한 곳 — 저장소·권한키·주소·광고 채널·통화 - 틱톡·쇼피·라자다 그룹(쇼핑몰 + 라이브커머스 하위, 그룹 열 = 합계), 광고비 채널 3개 - 금액 RM 소수 2자리 = 센 정수 저장(입력·엑셀 scale, 화면 num/money, JS money) - malaysia_performance_db = performance_db 구조 복사 + seed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
945 B
Python
23 lines
945 B
Python
"""[말레이시아 실적] — 실적 모듈(app/modules/performance) 코드·화면을 그대로 쓰는 두 번째 인스턴스(2026-11-20).
|
|
|
|
주소 /malaysia/performance/…, 저장 malaysia_performance_db(실적과 같은 표 구조), 권한키 malaysia_performance.
|
|
다른 점은 performance/variant.py MY 한 곳 — 틱톡·쇼피·라자다(쇼핑몰·라이브커머스) 수동 입력, RM 소수 2자리(센 정수 저장).
|
|
"""
|
|
|
|
from typing import Any
|
|
|
|
from fastapi import APIRouter, Depends
|
|
|
|
from ..performance import build_performance_store
|
|
from ..performance import router as _performance_router
|
|
from ..performance.variant import use_malaysia
|
|
|
|
router = APIRouter(prefix="/malaysia")
|
|
router.include_router(_performance_router, dependencies=[Depends(use_malaysia)])
|
|
|
|
__all__ = ["router", "build_malaysia_performance_store"]
|
|
|
|
|
|
def build_malaysia_performance_store(*, dsn: str | None) -> Any:
|
|
return build_performance_store(dsn=dsn)
|