文件上传

beetlsql3-dev
Mlxa0324 2 years ago
parent de757f0a27
commit 9d68e39f04

@ -41,6 +41,7 @@ public class FileEntity extends BaseEntity {
static{ static{
for(int i=0;i<50;i++){ for(int i=0;i<50;i++){
if(parentPath.split("web").length == 1){ if(parentPath.split("web").length == 1){
parentPath.replaceAll("^file:", "");
break; break;
}else { }else {
File file = new File(parentPath); File file = new File(parentPath);

Loading…
Cancel
Save