接口方式修改
This commit is contained in:
parent
72573c30c0
commit
71a6ee5f1a
@ -209,7 +209,7 @@ public class EquipmentController {
|
|||||||
return R.success(fileList);
|
return R.success(fileList);
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/file/read", method = RequestMethod.POST)
|
@RequestMapping(value = "/file/read", method = RequestMethod.GET)
|
||||||
public void readFile(String path, HttpServletResponse response) throws IOException {
|
public void readFile(String path, HttpServletResponse response) throws IOException {
|
||||||
if (StringUtils.isBlank(path)){
|
if (StringUtils.isBlank(path)){
|
||||||
throw new ServiceException("请输入浏览的文件路径");
|
throw new ServiceException("请输入浏览的文件路径");
|
||||||
|
Loading…
Reference in New Issue
Block a user