Commit 3b639878 authored by liudong1993's avatar liudong1993

1

parent b934dc6e
......@@ -434,7 +434,7 @@ namespace Mall.Education.Offices
}
//先将ppt转换为pdf临时文件
string tmpPdfPath = localfile + ".pdf";
string tmpPdfPath = localfile.Replace(".ppt", "").Replace(".pptx", "") + ".pdf";
doc.Save(tmpPdfPath, Aspose.Slides.Export.SaveFormat.Pdf);
//再将pdf转换为图片
......
......@@ -131,8 +131,6 @@ namespace COSSnippet
//执行请求
HeadObjectResult result = cosXml.HeadObject(request);
//请求成功
Console.WriteLine(result.GetResultInfo());
LogHelper.Write(result.GetResultInfo());
if (result.GetResultInfo().Contains("200 OK"))
{
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment