liurunyu
2024-04-23 ea9a04fe8ae638765e174a382c5df419aa63d42e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.dy.dyFile.download;
 
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * web文件下载
 */
@Slf4j
@RestController
@RequestMapping(path="download")
@SuppressWarnings("unchecked")//java版本越高,对泛型约束越严,所以配置SuppressWarnings("unchecked")
public class DownloadFileCtr {
    public String down(){
        return null ;
    }
}