feat(search): 实现歌单搜索功能
- 在前端 Playlist.vue 中添加搜索结果展示逻辑 - 在后端 PlaylistServiceImpl 中实现关键词搜索的查询条件 - 优化搜索性能,使用 distinct 查询避免重复结果 - 搜索范围包括歌单名、描述、创建者用户名以及歌单内的音乐名
This commit is contained in:
@@ -33,12 +33,12 @@
|
||||
</dependency>
|
||||
|
||||
<!-- 开发工具 -->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||
<!-- <artifactId>spring-boot-devtools</artifactId>-->
|
||||
<!-- <scope>runtime</scope>-->
|
||||
<!-- <optional>true</optional>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-devtools</artifactId>
|
||||
<scope>runtime</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<!-- Lombok -->
|
||||
<dependency>
|
||||
|
||||
Reference in New Issue
Block a user