33333333333
This commit is contained in:
@@ -43,6 +43,7 @@ public class UserCountServiceImpl extends ServiceImpl<UserCountMapper, UserCount
|
||||
public void star(Long fromUserId, Long toUserId) {
|
||||
baseMapper.starIncs(fromUserId,0,1);
|
||||
baseMapper.starIncs(toUserId,1,0);
|
||||
baseMapper.newStarIncs(toUserId);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -55,6 +56,7 @@ public class UserCountServiceImpl extends ServiceImpl<UserCountMapper, UserCount
|
||||
public void visitor(Long fromUserId, Long toUserId) {
|
||||
baseMapper.visitorIncs(fromUserId,1,0);
|
||||
baseMapper.visitorIncs(toUserId,0,1);
|
||||
baseMapper.newVisitorIncs(toUserId);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user