music:新增歌词接口
This commit is contained in:
@@ -287,6 +287,9 @@ public class Tools {
|
||||
* @return 前端获取的文件
|
||||
*/
|
||||
public static ResponseEntity<FileSystemResource> getFile(File file) {
|
||||
if(file==null){
|
||||
return null;
|
||||
}
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.add("Cache-Control", "no-cache, no-store, must-revalidate");
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user