添加延迟-2

This commit is contained in:
weiyachao 2023-10-07 11:24:15 +08:00
parent 0cd03acb9d
commit 78983997bc

View File

@ -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();