Commit 33405ba1 by 段启岩

查看话题下的所有动态

parent b1ae4240
...@@ -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
```
###### ######
### 四、标签 ### 四、标签
......
...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment