修改路径
parent
6a81ffc513
commit
0f445eaef0
|
@ -88,7 +88,7 @@ namespace IRaCIS.Application.Services
|
||||||
ZipHelper.CreateZip(tempSavePath, targetZipPath);
|
ZipHelper.CreateZip(tempSavePath, targetZipPath);
|
||||||
|
|
||||||
//返回Zip路径
|
//返回Zip路径
|
||||||
return Path.Combine("/UploadFile/", "CV_" + sb.ToString() + ".zip");
|
return Path.Combine("/IRaCISData/UploadFile/", "CV_" + sb.ToString() + ".zip");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -133,7 +133,7 @@ namespace IRaCIS.Application.Services
|
||||||
string target = Guid.NewGuid().ToString();
|
string target = Guid.NewGuid().ToString();
|
||||||
string targetPath = Path.Combine(uploadFolderPath, target + ".zip");
|
string targetPath = Path.Combine(uploadFolderPath, target + ".zip");
|
||||||
ZipHelper.CreateZip(tempSavePath, targetPath);
|
ZipHelper.CreateZip(tempSavePath, targetPath);
|
||||||
return Path.Combine("/UploadFile/", target + ".zip");
|
return Path.Combine("/IRaCISData/UploadFile/", target + ".zip");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ namespace IRaCIS.Application.Services
|
||||||
string targetPath = Path.Combine(root, target + ".zip");
|
string targetPath = Path.Combine(root, target + ".zip");
|
||||||
ZipHelper.CreateZip(packagePath, targetPath);
|
ZipHelper.CreateZip(packagePath, targetPath);
|
||||||
|
|
||||||
return Path.Combine("/UploadFile/", target + ".zip");
|
return Path.Combine("/IRaCISData/UploadFile/", target + ".zip");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void CopyDirectory(string srcPath, string destPath)
|
private static void CopyDirectory(string srcPath, string destPath)
|
||||||
|
|
Loading…
Reference in New Issue