Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
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
段启岩
beyond-clouds
Commits
33405ba1
Commit
33405ba1
authored
Feb 11, 2020
by
段启岩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查看话题下的所有动态
parent
b1ae4240
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
docs/api/API.md
+7
-0
src/main/java/cn/meteor/beyondclouds/modules/topic/api/TopicApi.java
+1
-1
No files found.
docs/api/API.md
View file @
33405ba1
...
@@ -248,6 +248,13 @@ GET /api/topic/recommends
...
@@ -248,6 +248,13 @@ GET /api/topic/recommends
DELETE /api/topic/{topicId}/follower
DELETE /api/topic/{topicId}/follower
```
```
###### :white_check_mark: 14.查看话题下的所有动态
```
DELETE /api/topic/{topicName}/posts
```
######
######
### 四、标签
### 四、标签
...
...
src/main/java/cn/meteor/beyondclouds/modules/topic/api/TopicApi.java
View file @
33405ba1
...
@@ -169,7 +169,7 @@ public class TopicApi {
...
@@ -169,7 +169,7 @@ public class TopicApi {
}
}
@Anonymous
@Anonymous
@ApiOperation
(
"
引用该话题
所有动态"
)
@ApiOperation
(
"
查询话题下的
所有动态"
)
@GetMapping
(
"/topic/{topicName}/posts"
)
@GetMapping
(
"/topic/{topicName}/posts"
)
public
Response
<
PageVO
<
Post
>>
getPostByTopicName
(
@Valid
PageForm
pageForm
,
@PathVariable
(
"topicName"
)
String
topicName
)
{
public
Response
<
PageVO
<
Post
>>
getPostByTopicName
(
@Valid
PageForm
pageForm
,
@PathVariable
(
"topicName"
)
String
topicName
)
{
...
...
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