public virtual void Visit(long visitorId, User target) { // 记录最近访客 SpaceVisitJob.Visit(visitorId, target.Id); // 同时增加空间的点击数 HitsJob.Add(target); }
//--------------------------------------- admin ----------------------------------------- public virtual void AddHits(ForumPost post) { //post.Hits++; //db.update( post, "Hits" ); HitsJob.Add(post); }
public virtual void AddHits(Group group) { HitsJob.Add(group); }
public void AddHits(ForumTopic topic) { //topic.Hits++; //db.update( topic, "Hits" ); HitsJob.Add(topic); }
public virtual void AddHits(BlogPost post) { HitsJob.Add(post); }
public virtual void AddHits(BlogApp app) { HitsJob.Add(app); }
public virtual void AddtHits(PhotoPost post) { HitsJob.Add(post); }
public virtual void AddHits(ContentPost post) { HitsJob.Add(post); }
public void AddHits(FeedEntry item) { HitsJob.Add(item); }