Commit 293c75ad authored by shiyu's avatar shiyu

个人藏馆

parent 34a2311f
......@@ -95,9 +95,9 @@ public class CollectionItemsRelationServiceImpl implements CollectionItemsRelati
//判断主态还是客态
if (StringUtils.hasLength(dto.getShareRecordId())) {
CollectionShareRecord collectionShareRecord = collectionShareRecordDao.findById(dto.getShareRecordId());
searchUserId = collectionShareRecord.getItemUserId();
if (collectionShareRecord.getItemUserId().longValue() != dto.getUserId().longValue()) {
collectionBookVo.setIsMine(false);
searchUserId = collectionShareRecord.getItemUserId();
//客态进入别人的藏馆,自动关注
FollowFansRecordRequestDto followFansRecordRequestDto = new FollowFansRecordRequestDto();
followFansRecordRequestDto.setFollowerId(collectionShareRecord.getItemUserId());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment