添加延迟-2
This commit is contained in:
parent
0cd03acb9d
commit
78983997bc
@ -71,7 +71,7 @@ public class MusicService {
|
||||
.collect(Collectors.joining(","));
|
||||
Map<String,SearchResponse.Song > songMap = res.getResult().getSongs().stream()
|
||||
.collect(Collectors.toMap(SearchResponse.Song::getId, Function.identity()));
|
||||
return webClient.get().uri(baseUrl+"/song/url/v1?id="+ids).retrieve()
|
||||
return webClient.get().uri(baseUrl+"/song/url?id="+ids).retrieve()
|
||||
.bodyToMono(SongInfoResponse.class).flatMap(song -> {
|
||||
if (Objects.equals(200, song.getCode()) && song.getData().size() > 0) {
|
||||
List<SongInfoResponse.ResultSong> data = song.getData();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user