Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
mall.oytour.com
Commits
3b639878
Commit
3b639878
authored
Oct 14, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b934dc6e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
ImageConverters.cs
Mall.Education/RabbitMQ/ImageConverters.cs
+1
-1
TransferUploadObject.cs
Mall.Education/TXCOS/TransferUploadObject.cs
+0
-2
No files found.
Mall.Education/RabbitMQ/ImageConverters.cs
View file @
3b639878
...
...
@@ -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转换为图片
...
...
Mall.Education/TXCOS/TransferUploadObject.cs
View file @
3b639878
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment