@At
@Ok("json:full")
public Result downFile(@Param("fpath") String fpath){
File file = new File(fpath);
if (file == null) {
return Result.error("文件不存在");
}
return null;
}
添加回复
请先登陆
@At
@Ok("json:full")
public Result downFile(@Param("fpath") String fpath){
File file = new File(fpath);
if (file == null) {
return Result.error("文件不存在");
}
return null;
}