Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doc-service
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
eifel邓鹏飞
doc-service
Commits
8c68f6f2
Commit
8c68f6f2
authored
Sep 24, 2024
by
Bess严根旺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
格式
parent
439bcfd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
convert_service.go
domain/service/convert_service.go
+8
-2
No files found.
domain/service/convert_service.go
View file @
8c68f6f2
...
...
@@ -21,8 +21,14 @@ func recoverPanic() {
}
}
// 发起文件转换
/*
**
发起文件转换
格式:
文字文档(Word):doc、docx、wps、wpss、docm、dotm、dot、dotx、html。
演示文档(PPT):pptx、ppt、pot、potx、pps、ppsx、dps、dpt、pptm、potm、ppsm、dpss。
表格文档(Excel):xls、xlt、et、ett、xlsx、xltx、csv、xlsb、xlsm、xltm、ets。
*/
func
(
doc
*
DocServiceService
)
DoConversion
(
c
context
.
Context
,
req
*
pb
.
DoConversionRequest
)
(
resp
*
pb
.
DoConversionResponse
,
err
error
)
{
defer
recoverPanic
()
resp
=
&
pb
.
DoConversionResponse
{}
...
...
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