|
|
@ -95,8 +95,7 @@ public class CMSSongController {
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "批量上传歌曲", notes = "上传的歌曲会新增到曲库")
|
|
|
|
@ApiOperation(value = "批量上传歌曲", notes = "上传的歌曲会新增到曲库")
|
|
|
|
@RequestMapping(value = "/batch", method = RequestMethod.POST)
|
|
|
|
@RequestMapping(value = "/batch", method = RequestMethod.POST)
|
|
|
|
public Result<List<SongBaseRespDto>> batchUpload(@ApiParam(value = "Header中的token信息", required = true) @RequestHeader("Authorization") String token,
|
|
|
|
public Result<List<SongBaseRespDto>> batchUpload(@ApiParam(value = "多歌曲文件", required = true) @RequestParam("files") List<MultipartFile> files) {
|
|
|
|
@ApiParam(value = "多歌曲文件", required = true) @RequestParam("files") List<MultipartFile> files) {
|
|
|
|
return songService.batchUpload(null, files);
|
|
|
|
return songService.batchUpload(token, files);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|