pharmacy-pos-qr-system/backend/check_lasix_spec.py
thug0bin 0ae4ae66f0 fix(baekje): 장바구니 담기 시 internal_code 사용하도록 수정
- kd_code 대신 internal_code로 장바구니 추가
- internal_code 없으면 검색 후 규격 매칭으로 찾기
- 백제 장바구니 담기 정상 작동 확인
2026-03-07 21:29:00 +09:00

11 lines
404 B
Python

# -*- coding: utf-8 -*-
import requests
res = requests.get('http://localhost:7001/api/geoyoung/stock?keyword=라식스', timeout=30).json()
print("=== 지오영 라식스 검색 ===")
for item in res.get('items', []):
internal = item.get('internal_code', '')
spec = item.get('specification', '')
name = item.get('product_name', '')
print(f" 내부: {internal} | spec: {spec} | {name}")