|
@@ -93,12 +93,6 @@ public class InitService {
|
|
|
FileUtils.copyInputStreamToFile(inputStream,file);
|
|
|
}
|
|
|
}
|
|
|
- File file = new File(CacheUtil.installPath+File.separator +"4DKK_PROGRAM_STATIC" + File.separator + "fusion" + File.separator + "default" + File.separator + "images");
|
|
|
- if(!file.exists()){
|
|
|
- log.info("图片不存在,复制:{}",file.getPath());
|
|
|
- InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("static/default/images");
|
|
|
- FileUtils.copyInputStreamToFile(inputStream,file);
|
|
|
- }
|
|
|
|
|
|
}catch (Exception e){
|
|
|
log.info("checkDefaultImag",e);
|