swagger接口完善

This commit is contained in:
linfeng 2023-11-05 09:51:26 +08:00
parent c8e4ad8575
commit 7084a90a73

View File

@ -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);