Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-web
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
cloud-web
Commits
88a6a54a
Commit
88a6a54a
authored
Jan 21, 2025
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
投稿发布
parent
cd239d52
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
cloud-web-manage/src/main/java/com/yizhi/application/project/controller/TpCommentController.java
+2
-1
No files found.
cloud-web-manage/src/main/java/com/yizhi/application/project/controller/TpCommentController.java
View file @
88a6a54a
...
...
@@ -40,10 +40,11 @@ public class TpCommentController {
public
Response
<
Page
<
PageCommentVo
>>
list
(
@ApiParam
(
value
=
"培训项目id"
,
required
=
true
)
@RequestParam
(
"trainingProjectId"
)
Long
trainingProjectId
,
@ApiParam
(
value
=
"关联业务类型:1活动服务;2新闻资讯;3培训测试;4培训资讯"
)
@RequestParam
(
name
=
"bizType"
,
defaultValue
=
"1"
)
Integer
bizType
,
@RequestParam
(
name
=
"type"
,
defaultValue
=
"0"
)
Integer
type
,
@ApiParam
(
name
=
"pageNo"
,
value
=
"跳转页数,默认第一页"
,
required
=
true
)
@RequestParam
(
name
=
"pageNo"
,
defaultValue
=
"1"
)
Integer
pageNo
,
@ApiParam
(
name
=
"pageSize"
,
value
=
"每页条数,默认20条"
,
required
=
true
)
@RequestParam
(
name
=
"pageSize"
,
defaultValue
=
"20"
)
Integer
pageSize
){
RequestContext
requestContext
=
ContextHolder
.
get
();
Page
<
PageCommentVo
>
page
=
tpCommentClient
.
list
(
trainingProjectId
,
bizType
,
requestContext
.
getAccountId
(),
pageNo
,
pageSize
,
0
);
Page
<
PageCommentVo
>
page
=
tpCommentClient
.
list
(
trainingProjectId
,
bizType
,
requestContext
.
getAccountId
(),
pageNo
,
pageSize
,
type
);
return
Response
.
ok
(
page
);
}
...
...
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