mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-04 21:08:30 +08:00
fix
This commit is contained in:
parent
9068862573
commit
552d6734cb
@ -48,7 +48,6 @@ import io.jpom.system.extconf.BuildExtConfig;
|
|||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.nio.file.StandardCopyOption;
|
import java.nio.file.StandardCopyOption;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -75,12 +74,6 @@ public class FileStorageService extends BaseGlobalOrWorkspaceService<FileStorage
|
|||||||
this.buildExtConfig = buildExtConfig;
|
this.buildExtConfig = buildExtConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public FileStorageModel getByKey(String keyValue, HttpServletRequest request) {
|
|
||||||
String workspace = this.getCheckUserWorkspace(request);
|
|
||||||
return super.getByKey(keyValue, true, entity -> entity.set("workspaceId", CollUtil.newArrayList(workspace, ServerConst.WORKSPACE_GLOBAL)));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 远程下载
|
* 远程下载
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user