Showing
1 changed file
with
2 additions
and
2 deletions
@@ -173,8 +173,8 @@ public class YtThirdPlatformServiceImpl extends AbstractBaseService<YtThirdPlatf | @@ -173,8 +173,8 @@ public class YtThirdPlatformServiceImpl extends AbstractBaseService<YtThirdPlatf | ||
173 | 173 | ||
174 | @Override | 174 | @Override |
175 | public UserDTO login(String thirdUserId) { | 175 | public UserDTO login(String thirdUserId) { |
176 | - return baseMapper.login(thirdUserId) | ||
177 | - .getDTO(UserDTO.class); | 176 | + User user = baseMapper.login(thirdUserId); |
177 | + return user==null?null:user.getDTO(UserDTO.class); | ||
178 | } | 178 | } |
179 | 179 | ||
180 | @Override | 180 | @Override |