From c6297614e08e64e85b8f21439ad990a95724b079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=96=87=E8=89=B3?= Date: Wed, 11 Mar 2026 18:56:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=98=93=E6=96=B9=E8=BE=BE?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fangjia/script/opentest/EfundInterfaceTest.groovy | 4 ++-- .../java/com/fangjia/service/efund/EfundMatchServiceImpl.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/opentest/EfundInterfaceTest.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/opentest/EfundInterfaceTest.groovy index a538bed6c..638906510 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/opentest/EfundInterfaceTest.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/opentest/EfundInterfaceTest.groovy @@ -61,7 +61,7 @@ try { // 6. 使用 ExcelUtils.multiThreadingModify 多线程调用接口 println "\n开始多线程测试接口..." - println "接口地址:http://localhost:9180/efund/match" + println "接口地址:http://open.fangjia.com/efund/match" println "线程数:CPU核心数 × 4 = ${Runtime.getRuntime().availableProcessors() * 4}" ExcelUtils.multiThreadingModify(outputFile, { List row -> @@ -79,7 +79,7 @@ try { params.put("city", city) } - String response = request.get("http://localhost:9180/efund/match", params, "UTF-8") + String response = request.get("http://open.fangjia.com/efund/match", params, "UTF-8") long duration = System.currentTimeMillis() - startTime // 解析响应 diff --git a/projects/fangjia-service/src/main/java/com/fangjia/service/efund/EfundMatchServiceImpl.java b/projects/fangjia-service/src/main/java/com/fangjia/service/efund/EfundMatchServiceImpl.java index 031487c08..7648af4a5 100644 --- a/projects/fangjia-service/src/main/java/com/fangjia/service/efund/EfundMatchServiceImpl.java +++ b/projects/fangjia-service/src/main/java/com/fangjia/service/efund/EfundMatchServiceImpl.java @@ -392,6 +392,7 @@ public class EfundMatchServiceImpl implements EfundMatchService { } try { List params = new ArrayList(); + params.add(new QueryParam("cat", "office")); params.add(new QueryParam("city", city)); params.add(new QueryParam("district", district)); params.add(new QueryParam("name", name));