|
|
@ -256,7 +256,7 @@ public class ApiPropertyController { |
|
|
|
* @Date: 2020/5/14 16:48 |
|
|
|
* @Description:提交评论或回复接口 |
|
|
|
*/ |
|
|
|
@PostMapping("submit") |
|
|
|
@PostMapping("comment/submit") |
|
|
|
public Result submit(@LoginUser TokenDto userDetail, @RequestBody TopicCommentFormDTO topicCommentFormDTO) { |
|
|
|
return propertyService.submit(userDetail, topicCommentFormDTO); |
|
|
|
} |
|
|
@ -264,7 +264,7 @@ public class ApiPropertyController { |
|
|
|
/** |
|
|
|
* 评论(赞/踩) |
|
|
|
*/ |
|
|
|
@PostMapping("statement") |
|
|
|
@PostMapping("comment/statement") |
|
|
|
public Result statement(@LoginUser TokenDto userDetail, @RequestBody TopicCommentStatementFormDTO topicCommentStatementFormDTO) { |
|
|
|
return propertyService.statement(userDetail, topicCommentStatementFormDTO); |
|
|
|
} |
|
|
@ -272,7 +272,7 @@ public class ApiPropertyController { |
|
|
|
/** |
|
|
|
* 评论列表 |
|
|
|
*/ |
|
|
|
@GetMapping("list") |
|
|
|
@GetMapping("comment/list") |
|
|
|
public Result<EventCommentsResultDTO> listOfComments(@LoginUser TokenDto userDetail, TopicCommentsFormDTO topicCommentsFormDTO) { |
|
|
|
return propertyService.listOfComments(userDetail, topicCommentsFormDTO); |
|
|
|
} |
|
|
|