Commit e1fff593 by 黄森林

海报bug修复

parent 2c26232b
......@@ -68,7 +68,12 @@ public class PicturesUtil {
}
}
}
String enclosure = filePath.replace("enclosure", "api/manager/ciop");
String enclosure = filePath.replace("enclosure", "manager/ciop");
return enclosure;
}
public static boolean deletePictures(String fileName){
File file = new File(fileName.replace("manager/ciop","enclosure"));
boolean delete = file.delete();
return delete;
}
}
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