swagger接口完善
This commit is contained in:
parent
c8e4ad8575
commit
7084a90a73
@ -147,7 +147,7 @@ public class AppPostController {
|
||||
@Login
|
||||
@PostMapping("/addComment")
|
||||
@ApiOperation("添加评论")
|
||||
public R addComment(@RequestBody AddCommentForm request, @LoginUser AppUserEntity user){
|
||||
public R addComment(@RequestBody AddCommentForm request, @ApiIgnore @LoginUser AppUserEntity user){
|
||||
ValidatorUtils.validateEntity(request);
|
||||
postService.addComment(request,user);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user