feat : 주문통계 url 수정

This commit is contained in:
lsh9672 2025-06-16 17:27:33 +09:00
parent ab21ae49e1
commit ee8d1a024c

View File

@ -32,9 +32,10 @@ public class OrderDataAdapter implements OrderDataPort {
log.info("주문 통계 조회: storeId={}, period={} ~ {}", storeId, startDate, endDate);
try {
String url = String.format("%s/api/orders/stores/%d/statistics?startDate=%s&endDate=%s",
String url = String.format("%s/api/stores/orders/store/%d/period?startDate=%s&endDate=%s",
storeServiceUrl, storeId, startDate, endDate);
OrderStatistics statistics = restTemplate.getForObject(url, OrderStatistics.class);
if (statistics != null) {