Browse Source

补充

feature/yujt_analysisHomeChange
曲树通 5 years ago
parent
commit
28991bc2e0
  1. 6
      epdc-cloud-api/src/main/java/com/elink/esua/epdc/controller/ApiPropertyController.java

6
epdc-cloud-api/src/main/java/com/elink/esua/epdc/controller/ApiPropertyController.java

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

Loading…
Cancel
Save