|
@@ -67,8 +67,8 @@ public class DynamicContentServiceImpl implements DynamicContentService{
|
|
if (dynamicContentDTO == null) {
|
|
if (dynamicContentDTO == null) {
|
|
throw new ResourceUnavailableException("动态不存在");
|
|
throw new ResourceUnavailableException("动态不存在");
|
|
}
|
|
}
|
|
- Long userId = dynamicContentDTO.getUserId();
|
|
|
|
- UserDTO user = userClient.getUser(userId);
|
|
|
|
|
|
+ //Long userId = dynamicContentDTO.getUserId();
|
|
|
|
+ UserDTO user = userClient.getUser(selfUserId);
|
|
dynamicContentDTO.setUserDTO(user);
|
|
dynamicContentDTO.setUserDTO(user);
|
|
if(selfUserId == null){
|
|
if(selfUserId == null){
|
|
return dynamicContentDTO;
|
|
return dynamicContentDTO;
|