fei.wang
2025-04-16 c386374de5ff4a65904124ef839e6862518d27fa
src/main/java/com/hxzkmonitor/controller/TbCompanyController.java
@@ -65,5 +65,19 @@
//                .collect(Collectors.toList());
    }
    @GetMapping("/api/searchfive")
    public R searchfive( ) {
        return R.ok(tbCompanyService.searchfive());
        // 执行搜索逻辑,并返回结果
        // List<Item> items = searchService.search(query);
        // return items.stream().map(Item::getName).collect(Collectors.toList());
        // 如果没有服务,可以使用静态数据进行演示
//        return Arrays.asList("Search Result 1", "Search Result 2", "Search Result 3").stream()
//                .filter(result -> result.contains(query))
//                .collect(Collectors.toList());
    }
}