mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
支持在线播放音频, 且获取音频文件元数据, 歌手, 封面等信息
This commit is contained in:
@@ -111,4 +111,9 @@ public class FileController {
|
||||
public ResultBean getImageInfo(String url) throws Exception {
|
||||
return ResultBean.success(fileService.getImageInfo(url));
|
||||
}
|
||||
|
||||
@GetMapping("/audioInfo")
|
||||
public ResultBean getAudioInfo(String url) throws Exception {
|
||||
return ResultBean.success(fileService.getAudioInfo(url));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user