Exemple #1
0
        public virtual void Visit(long visitorId, User target)
        {
            // 记录最近访客
            SpaceVisitJob.Visit(visitorId, target.Id);

            // 同时增加空间的点击数
            HitsJob.Add(target);
        }
Exemple #2
0
        //--------------------------------------- admin -----------------------------------------

        public virtual void AddHits(ForumPost post)
        {
            //post.Hits++;
            //db.update( post, "Hits" );
            HitsJob.Add(post);
        }
Exemple #3
0
 public virtual void AddHits(Group group)
 {
     HitsJob.Add(group);
 }
Exemple #4
0
 public void AddHits(ForumTopic topic)
 {
     //topic.Hits++;
     //db.update( topic, "Hits" );
     HitsJob.Add(topic);
 }
Exemple #5
0
 public virtual void AddHits(BlogPost post)
 {
     HitsJob.Add(post);
 }
Exemple #6
0
 public virtual void AddHits(BlogApp app)
 {
     HitsJob.Add(app);
 }
Exemple #7
0
 public virtual void AddtHits(PhotoPost post)
 {
     HitsJob.Add(post);
 }
Exemple #8
0
 public virtual void AddHits(ContentPost post)
 {
     HitsJob.Add(post);
 }
Exemple #9
0
 public void AddHits(FeedEntry item)
 {
     HitsJob.Add(item);
 }