직접입력시 업종 추가

This commit is contained in:
skkim committed 2026-07-03 16:00:37 +09:00
1 parent 2f720dfa92
commit bd92eb2226
14 files changed
+79 -106

No files matched your search

+2 -2
View File
@@ -911,7 +911,7 @@ export async function autocomplete(request: AutocompleteRequest): Promise<Crawli
}
// 업체명·주소 직접 입력으로 마케팅 분석
export async function marketingAnalysis(storeName: string, address: string): Promise<CrawlingResponse> {
export async function marketingAnalysis(storeName: string, address: string, category = ''): Promise<CrawlingResponse> {
const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), CRAWL_TIMEOUT);
@@ -921,7 +921,7 @@ export async function marketingAnalysis(storeName: string, address: string): Pro
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ store_name: storeName, address }),
body: JSON.stringify({ store_name: storeName, address, category }),
signal: controller.signal,
});