mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-22 01:30:40 +08:00
配置文件的一些小调整
This commit is contained in:
@@ -103,8 +103,8 @@ public class UserServiceImpl implements UserService {
|
||||
Integer thirdPartyUserId = thirdPartyUserDO.getId();
|
||||
// 删除第三方账号与用户的关联
|
||||
// 首先在 Auth 表中删除
|
||||
int affectRows = thirdPartyUserAuthDOMapper.deleteByUserIdAndThirdPartyUserId(userId, thirdPartyUserId);
|
||||
if (affectRows == 0) {
|
||||
int affectRows1 = thirdPartyUserAuthDOMapper.deleteByUserIdAndThirdPartyUserId(userId, thirdPartyUserId);
|
||||
if (affectRows1 == 0) {
|
||||
// 删除失败
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user