From c8e4ad857504a26a3e930e7b240954fce0a25e1b Mon Sep 17 00:00:00 2001 From: linfeng <2445465217@qq.com> Date: Fri, 3 Nov 2023 10:35:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=B3=A8=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/app/controller/AppUserInfoController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/io/linfeng/modules/app/controller/AppUserInfoController.java b/src/main/java/io/linfeng/modules/app/controller/AppUserInfoController.java index b162037..9e0a44e 100644 --- a/src/main/java/io/linfeng/modules/app/controller/AppUserInfoController.java +++ b/src/main/java/io/linfeng/modules/app/controller/AppUserInfoController.java @@ -129,7 +129,7 @@ public class AppUserInfoController { @Login @PostMapping("/userInfoEdit") @ApiOperation("用户修改个人信息") - public R userInfoEdit(@LoginUser AppUserEntity user, @RequestBody AppUserUpdateForm appUserUpdateForm) { + public R userInfoEdit(@ApiIgnore @LoginUser AppUserEntity user, @RequestBody AppUserUpdateForm appUserUpdateForm) { appUserService.updateAppUserInfo(appUserUpdateForm, user); return R.ok("修改成功"); } @@ -138,7 +138,7 @@ public class AppUserInfoController { @Login @PostMapping("/addFollow") @ApiOperation("关注用户") - public R addFollow(@LoginUser AppUserEntity user, @RequestBody AddFollowForm request) { + public R addFollow(@ApiIgnore @LoginUser AppUserEntity user, @RequestBody AddFollowForm request) { appUserService.addFollow(request, user); return R.ok("关注用户成功"); } @@ -149,7 +149,7 @@ public class AppUserInfoController { @Login @GetMapping("/userFans") @ApiOperation("我的粉丝分页列表") - public R userFans(@RequestParam("page") Integer page, @LoginUser AppUserEntity user) { + public R userFans(@RequestParam("page") Integer page, @ApiIgnore @LoginUser AppUserEntity user) { AppPageUtils pages = appUserService.userFans(page, user.getUid()); return R.ok().put("result", pages);