Commit 6a275eb4 by jinxin

temp文件删除方法bug

parent ed00b257
...@@ -130,7 +130,8 @@ public class UploadController extends WebBaseController { ...@@ -130,7 +130,8 @@ public class UploadController extends WebBaseController {
return RestResponse.failure("9999", e.getMessage()) ; return RestResponse.failure("9999", e.getMessage()) ;
} }
picList.add(map); picList.add(map);
file.deleteOnExit(); //方法替换
file.delete();
} }
} }
return RestResponse.successResult(picList); return RestResponse.successResult(picList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment