15 lines
540 B
Python
15 lines
540 B
Python
# -*- coding: utf-8 -*-
|
|
import requests
|
|
|
|
res = requests.get('http://localhost:7001/api/geoyoung/orders/summary-by-kd?start_date=2026-03-07&end_date=2026-03-07', timeout=120).json()
|
|
|
|
print("=== 메게이스 주문 확인 ===")
|
|
for kd, info in res.get('by_kd_code', {}).items():
|
|
if '메게이스' in info['product_name']:
|
|
print(f"KD: {kd}")
|
|
print(f"제품명: {info['product_name']}")
|
|
print(f"spec: {info['spec']}")
|
|
print(f"boxes: {info['boxes']}")
|
|
print(f"units: {info['units']}")
|
|
print()
|