pharmacy-pos-qr-system/backend/test_geo_cart_keys.py
thug0bin a672c7a2a0 feat(order): 지오영/수인 선택적 주문 + 장바구니 보존 기능
- internal_code DB 저장 → 프론트에서 선택한 제품 그대로 주문
- 기존 장바구니 백업/복구로 사용자 장바구니 보존
- 수인약품 submit_order() 수정 (체크박스 제외 방식)
- 테스트 파일 정리 및 문서 추가
2026-03-06 23:26:44 +09:00

17 lines
445 B
Python

# -*- coding: utf-8 -*-
"""지오영 장바구니 아이템 키 확인"""
import sys; sys.path.insert(0, '.'); import wholesale_path
from wholesale import GeoYoungSession
import json
g = GeoYoungSession()
g.login()
cart = g.get_cart()
print(f"장바구니: {cart['total_items']}\n")
if cart['items']:
print("첫 번째 아이템 키:")
item = cart['items'][0]
print(json.dumps(item, indent=2, ensure_ascii=False, default=str))