Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
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
micro_app
gk
Commits
1fa0cd82
Commit
1fa0cd82
authored
May 21, 2025
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf(richText): 自助服务apidoc优化
parent
da4eb5d4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
RichTextController.java
...om/dlbridge/jadp/plugins/cmpt/web/RichTextController.java
+7
-7
No files found.
src/main/java/com/dlbridge/jadp/plugins/cmpt/web/RichTextController.java
View file @
1fa0cd82
...
...
@@ -22,14 +22,14 @@ import java.util.List;
@Log4j2
@RestController
@RequestMapping
(
value
=
"gk/richText"
)
@Api
(
value
=
"自助服务
详情"
,
tags
=
"自助服务详情
"
)
@Api
(
value
=
"自助服务
"
,
tags
=
"自助服务
"
)
@ApiSort
(
10
)
public
class
RichTextController
{
@Resource
private
RichTextService
richTextService
;
@PostMapping
(
value
=
"/add"
)
@ApiOperation
(
value
=
"自助服务管理新增"
,
notes
=
"自助服务管理新增"
,
tags
=
"自助服务
管理新增
"
)
@ApiOperation
(
value
=
"自助服务管理新增"
,
notes
=
"自助服务管理新增"
,
tags
=
"自助服务"
)
public
Result
addRichText
(
@RequestBody
RichText
richText
)
{
int
result
=
richTextService
.
add
(
richText
);
if
(
result
!=
1
)
{
...
...
@@ -39,7 +39,7 @@ public class RichTextController {
}
@PostMapping
(
value
=
"/update"
)
@ApiOperation
(
value
=
"自助服务管理修改"
,
notes
=
"自助服务管理修改"
,
tags
=
"自助服务
管理修改
"
)
@ApiOperation
(
value
=
"自助服务管理修改"
,
notes
=
"自助服务管理修改"
,
tags
=
"自助服务"
)
public
Result
updateRichText
(
@RequestBody
RichText
richText
)
{
int
result
=
richTextService
.
update
(
richText
);
if
(
result
!=
1
)
{
...
...
@@ -49,7 +49,7 @@ public class RichTextController {
}
@PostMapping
(
value
=
"/delete"
)
@ApiOperation
(
value
=
"自助服务管理删除"
,
notes
=
"自助服务管理删除"
,
tags
=
"自助服务
管理删除
"
)
@ApiOperation
(
value
=
"自助服务管理删除"
,
notes
=
"自助服务管理删除"
,
tags
=
"自助服务"
)
public
Result
deleteRichText
(
@RequestBody
RichText
richText
)
{
int
result
=
richTextService
.
delete
(
richText
);
if
(
result
!=
1
)
{
...
...
@@ -59,7 +59,7 @@ public class RichTextController {
}
@GetMapping
(
value
=
"/detail/{id}"
)
@ApiOperation
(
value
=
"自助服务管理主键检索"
,
notes
=
"自助服务管理主键检索"
,
tags
=
"自助服务
管理主键检索
"
)
@ApiOperation
(
value
=
"自助服务管理主键检索"
,
notes
=
"自助服务管理主键检索"
,
tags
=
"自助服务"
)
public
Result
<
RichText
>
getRichText
(
@PathVariable
(
"id"
)
String
id
)
{
RichText
richText
=
richTextService
.
detail
(
id
);
if
(
richText
==
null
)
{
...
...
@@ -69,7 +69,7 @@ public class RichTextController {
}
@PostMapping
(
value
=
"/page/{page}/{pageSize}"
)
@ApiOperation
(
value
=
"自助服务管理条件检索"
,
notes
=
"自助服务管理条件检索"
,
tags
=
"自助服务
管理条件检索
"
)
@ApiOperation
(
value
=
"自助服务管理条件检索"
,
notes
=
"自助服务管理条件检索"
,
tags
=
"自助服务"
)
public
Result
<
List
<
RichText
>>
getRichTextList
(
@RequestBody
RichTextBean
richTextBean
,
@PathVariable
(
"page"
)
int
page
,
@PathVariable
(
"pageSize"
)
int
pageSize
)
{
List
<
RichText
>
richTextList
=
richTextService
.
getPage
(
richTextBean
,
page
-
1
,
pageSize
);
...
...
@@ -80,7 +80,7 @@ public class RichTextController {
@GetMapping
(
value
=
"/qrCode/{id}"
)
@ApiOperation
(
value
=
"生成签到二维码"
,
notes
=
"生成签到二维码"
,
tags
=
"
生成签到二维码
"
)
@ApiOperation
(
value
=
"生成签到二维码"
,
notes
=
"生成签到二维码"
,
tags
=
"
自助服务
"
)
public
void
getRichTextQrCode
(
@PathVariable
(
"id"
)
int
id
,
HttpServletResponse
response
)
{
log
.
info
(
"Generating QR Code for ID: "
+
id
);
response
.
setContentType
(
"image/png"
);
...
...
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