更新前端,调整部分代码
This commit is contained in:
parent
fd04d61885
commit
2c08552986
@ -15,7 +15,6 @@ import jakarta.servlet.http.HttpServletRequest;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import lombok.Data;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.io.*;
|
||||
|
||||
@ -151,7 +151,6 @@ public class RemoteService {
|
||||
}
|
||||
|
||||
public byte cachePreview(String galleryName, short page, File file){
|
||||
|
||||
File parentFile = file.getParentFile();
|
||||
if(!parentFile.isDirectory())
|
||||
if(parentFile.mkdirs())
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user