|
|
@@ -88,6 +88,7 @@ public class AiSearchController {
|
|
|
|
|
|
ResponseEntity<String> stringResponseEntity = restTemplate.postForEntity(aiSearchExactUrl, request, String.class);
|
|
|
String body = stringResponseEntity.getBody();
|
|
|
+ log.info("调用AI检索 处理前v 接口返回------{}", body);
|
|
|
JSONObject jsonObject = JSONObject.parseObject(body);
|
|
|
JSONObject jsonObject1 = new JSONObject();
|
|
|
// 生活服务类别:转换为StoreInfoVo,确保返回的字段名按照StoreInfoVo定义
|
|
|
@@ -136,6 +137,7 @@ public class AiSearchController {
|
|
|
try {
|
|
|
ResponseEntity<String> stringResponseEntity = restTemplate.postForEntity(aiSearchFuzzyUrl, request, String.class);
|
|
|
String body = stringResponseEntity.getBody();
|
|
|
+ log.info("调用AI列表接口 处理前v 接口返回------{}", body);
|
|
|
JSONObject jsonObject = JSONObject.parseObject(body);
|
|
|
JSONObject jsonObject1 = new JSONObject();
|
|
|
// 模糊搜索:从related_results和matched_results字段获取数据
|