1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-22 01:30:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

配置文件的一些小调整

This commit is contained in:
2022-04-07 13:13:13 +08:00
parent 049f9d85d5
commit 38159719b8
11 changed files with 72 additions and 69 deletions

View File

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