|
|
@@ -639,6 +639,7 @@ public class UserService {
|
|
|
user.setSettleAccountId(null);
|
|
|
save(user);
|
|
|
userBankCardRepo.deleteByUserId(userId);
|
|
|
+ cacheService.clearUserMy(userId);
|
|
|
} else {
|
|
|
throw new BusinessException("未绑定");
|
|
|
}
|
|
|
@@ -650,6 +651,7 @@ public class UserService {
|
|
|
user.setAuthStatus(AuthStatus.NOT_AUTH);
|
|
|
save(user);
|
|
|
identityAuthRepo.deleteAll(identityAuthRepo.findByUserIdAndDelFalse(userId));
|
|
|
+ cacheService.clearUserMy(userId);
|
|
|
}
|
|
|
}
|
|
|
|