feat(order): 지오영/수인 선택적 주문 + 장바구니 보존 기능
- internal_code DB 저장 → 프론트에서 선택한 제품 그대로 주문 - 기존 장바구니 백업/복구로 사용자 장바구니 보존 - 수인약품 submit_order() 수정 (체크박스 제외 방식) - 테스트 파일 정리 및 문서 추가
This commit is contained in:
14
backend/test_geo_search2.py
Normal file
14
backend/test_geo_search2.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import sys; sys.path.insert(0, '.'); import wholesale_path
|
||||
from wholesale import GeoYoungSession
|
||||
|
||||
g = GeoYoungSession()
|
||||
g.login()
|
||||
|
||||
for kw in ['베아제', '신신파스', '마그밀', '활명수', '트라스트', '카베진']:
|
||||
r = g.search_products(kw)
|
||||
if r.get('items'):
|
||||
item = r['items'][0]
|
||||
print(f"{kw}: {item['name'][:30]} (code: {item.get('internal_code')})")
|
||||
else:
|
||||
print(f"{kw}: 없음")
|
||||
Reference in New Issue
Block a user