mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-25 00:15:06 +08:00
【解决todo】Suno调用改为WebClient
This commit is contained in:
@ -19,7 +19,7 @@ public class MusicServiceImpl implements MusicService {
|
||||
|
||||
@Override
|
||||
public SunoRespVO musicGen(SunoReqVO sunoReqVO) {
|
||||
SunoApi.SunoRequest req = BeanUtils.toBean(sunoReqVO, SunoApi.SunoRequest.class);
|
||||
SunoApi.SunoReq req = BeanUtils.toBean(sunoReqVO, SunoApi.SunoReq.class);
|
||||
return BeanUtils.toBean(sunoApi.musicGen(req), SunoRespVO.class);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user