|
@@ -204,7 +204,7 @@ public class LargeFileEndpoint {
|
|
|
// 获取文件路径
|
|
|
/**Windows文件路径要加在哪个盘**/
|
|
|
// String filePath = "D:/www/wwwroot/Users/hongchuangyanfa/Desktop/Desktop/ceshi";
|
|
|
- String filePath = "D:"+ParamCache.getValue(CommonConstant.SYS_LOCAL_URL)+"largeFile/";
|
|
|
+ String filePath = ParamCache.getValue(CommonConstant.SYS_LOCAL_URL)+"largeFile/";
|
|
|
// 创建文件夹
|
|
|
// getAbsoluteFile(filePath, fileName);
|
|
|
// new File(filePath, fileName);
|
|
@@ -316,7 +316,7 @@ public class LargeFileEndpoint {
|
|
|
* 构建上传完整目录
|
|
|
*/
|
|
|
private String buildUploadDir() {
|
|
|
- String fullDir ="D:"+ParamCache.getValue(CommonConstant.SYS_LOCAL_URL)+"largeFile/";
|
|
|
+ String fullDir =ParamCache.getValue(CommonConstant.SYS_LOCAL_URL)+"largeFile/";
|
|
|
File dir = new File(fullDir);
|
|
|
if (!dir.exists()) {
|
|
|
dir.mkdirs();
|