From 8ac012f49c0033452762b84206f45195b55e3400 Mon Sep 17 00:00:00 2001 From: MichaelWin Date: Thu, 11 Dec 2025 12:55:43 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=B3=A8=E9=94=80=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/corewing/app/service/impl/UserServiceImpl.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/corewing/app/service/impl/UserServiceImpl.java b/src/main/java/com/corewing/app/service/impl/UserServiceImpl.java index a899482..362a2b7 100755 --- a/src/main/java/com/corewing/app/service/impl/UserServiceImpl.java +++ b/src/main/java/com/corewing/app/service/impl/UserServiceImpl.java @@ -35,14 +35,12 @@ public class UserServiceImpl extends ServiceImpl implements Us private final Ip2RegionUtil ip2RegionUtil; private final UserMapper userMapper; private final RedisUtil redisUtil; - private final UserService userService; - public UserServiceImpl(VerifyCodeService verifyCodeService, Ip2RegionUtil ip2RegionUtil, UserMapper userMapper, RedisUtil redisUtil, UserService userService) { + public UserServiceImpl(VerifyCodeService verifyCodeService, Ip2RegionUtil ip2RegionUtil, UserMapper userMapper, RedisUtil redisUtil) { this.verifyCodeService = verifyCodeService; this.ip2RegionUtil = ip2RegionUtil; this.userMapper = userMapper; this.redisUtil = redisUtil; - this.userService = userService; } @Override @@ -326,7 +324,7 @@ public class UserServiceImpl extends ServiceImpl implements Us StpUtil.logout(); // 删除记录 - userService.removeById(user.getId()); + this.removeById(user.getId()); return true; } }