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
08f00124
Commit
08f00124
authored
Jan 02, 2025
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查看我的投稿接口
parent
7a784d71
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
cloud-web-manage/src/main/java/com/yizhi/application/portal/controller/SitePublicationManageController.java
+19
-0
No files found.
cloud-web-manage/src/main/java/com/yizhi/application/portal/controller/SitePublicationManageController.java
View file @
08f00124
...
...
@@ -59,6 +59,25 @@ public class SitePublicationManageController {
}
/**
* 投稿列表
*
* @return
*/
@ApiOperation
(
value
=
"查看我的投稿"
,
notes
=
"查看我的投稿"
,
response
=
PublicationParamVO
.
class
)
@PostMapping
(
"/listByMyself"
)
public
Response
<
Page
<
PublicationVo
>>
listByMyself
(
@RequestBody
PublicationParamVO
vo
)
{
try
{
vo
.
setCreateById
(
ContextHolder
.
get
().
getAccountId
());
vo
.
setSiteId
(
ContextHolder
.
get
().
getSiteId
());
return
Response
.
ok
(
publicationManageFeignClients
.
list
(
vo
));
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
LOGGER
.
error
(
""
,
e
);
return
Response
.
fail
(
ReturnCode
.
SERVICE_UNAVAILABLE
.
getCode
(),
ReturnCode
.
SERVICE_UNAVAILABLE
.
getMsg
());
}
}
/**
* 投稿发布的列表
*
*/
...
...
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