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
030b2247
Commit
030b2247
authored
Sep 24, 2024
by
Bess严根旺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
格式
parent
8c68f6f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
convert_service.go
domain/service/convert_service.go
+6
-1
No files found.
domain/service/convert_service.go
View file @
030b2247
...
@@ -24,10 +24,15 @@ func recoverPanic() {
...
@@ -24,10 +24,15 @@ func recoverPanic() {
/*
/*
**
**
发起文件转换
发起文件转换
格式:
格式:
(source_type)
文字文档(Word):doc、docx、wps、wpss、docm、dotm、dot、dotx、html。
文字文档(Word):doc、docx、wps、wpss、docm、dotm、dot、dotx、html。
演示文档(PPT):pptx、ppt、pot、potx、pps、ppsx、dps、dpt、pptm、potm、ppsm、dpss。
演示文档(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。
表格文档(Excel):xls、xlt、et、ett、xlsx、xltx、csv、xlsb、xlsm、xltm、ets。
输出格式:(target_type)
图片:png、jpg。
文本:txt。
PDF:pdf。
*/
*/
func
(
doc
*
DocServiceService
)
DoConversion
(
c
context
.
Context
,
req
*
pb
.
DoConversionRequest
)
(
resp
*
pb
.
DoConversionResponse
,
err
error
)
{
func
(
doc
*
DocServiceService
)
DoConversion
(
c
context
.
Context
,
req
*
pb
.
DoConversionRequest
)
(
resp
*
pb
.
DoConversionResponse
,
err
error
)
{
defer
recoverPanic
()
defer
recoverPanic
()
...
...
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