删除空格
This commit is contained in:
parent
a05df74aba
commit
edf0842dcf
@ -28,7 +28,7 @@ public class MusicController {
|
|||||||
public Mono<List<SongInfoResponse.ResultSong>> search(String name,
|
public Mono<List<SongInfoResponse.ResultSong>> search(String name,
|
||||||
@RequestParam(required = false, defaultValue = "1") Integer type) {
|
@RequestParam(required = false, defaultValue = "1") Integer type) {
|
||||||
|
|
||||||
return musicService.searchMusic(name,type);
|
return musicService.searchMusic(name.trim(),type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user