|
|
@ -136,7 +136,7 @@ public class NewsServiceImpl implements NewsService { |
|
|
|
informationDto.setDataType(AppHomePageDataTypeConstant.HOME_DATA_TYPE_INFORMATION); |
|
|
|
informationDto.setNum(NumConstant.ZERO); |
|
|
|
Result<EpdcInformationFristResultDTO> information = newsFeignClient.selectOneFristByUserId(userId); |
|
|
|
if (null != information && information.success()) { |
|
|
|
if (null != information && information.success() && null != information.getData()) { |
|
|
|
informationDto.setNum(information.getData().getAmount()); |
|
|
|
} |
|
|
|
data.add(informationDto); |
|
|
@ -146,7 +146,7 @@ public class NewsServiceImpl implements NewsService { |
|
|
|
actDto.setDataType(AppHomePageDataTypeConstant.HOME_DATA_TYPE_UNREAD_SIGN_UP_ACT); |
|
|
|
actDto.setNum(NumConstant.ZERO); |
|
|
|
Result<Integer> act = actInfoFeignClient.getUserUnreadSignUpActCount(userId); |
|
|
|
if (null != act && act.success()) { |
|
|
|
if (null != act && act.success() && null != act.getData()) { |
|
|
|
actDto.setNum(act.getData()); |
|
|
|
} |
|
|
|
data.add(actDto); |
|
|
|