feat(search): 实现用户搜索功能

- 添加 Elasticsearch 客户端配置
- 创建用户搜索接口和实现类
- 定义搜索请求和响应 VO 类
- 集成分页查询和关键字匹配逻辑
- 添加 Elasticsearch 测试用例
- 更新 pom.xml 依赖和版本管理
- 添加 HTTP 客户端测试脚本
This commit is contained in:
2025-10-30 22:21:06 +08:00
parent 3437c2bff4
commit 4e00542371
8 changed files with 209 additions and 16 deletions

View File

@@ -279,3 +279,12 @@ Content-Type: application/json
}
}
}
### 搜索用户(搜索服务)
POST http://localhost:8092/search/user
Content-Type: application/json
{
"keyword": "憨",
"pageNo": 1
}