|
|
@ -278,7 +278,7 @@ public class AppUserServiceImpl implements AppUserService { |
|
|
|
formDTO.setPassword(loginDto.getPassword()); |
|
|
|
Result<CachingUserInfoDTO> userInfoResult = userFeignClient.npmNeedCachingUserInfo(formDTO); |
|
|
|
if (!userInfoResult.success()) { |
|
|
|
return new Result().error(userInfoResult.getMsg()); |
|
|
|
return new Result().error(-1, "请确认账号和密码是否正确或联系管理员!"); |
|
|
|
} |
|
|
|
return this.getTokenByNpmUserDto(userInfoResult.getData(), loginDto); |
|
|
|
} |
|
|
|