Exemple #1
0
 /// <summary>
 /// 是否已经存在“关注”关系
 /// </summary>
 /// <param name="userId">用户编号</param>
 /// <param name="targetUserId">被关注的目标用户编号</param>
 /// <returns>是否已经存在“关注”关系</returns>
 public static bool AlreadyBeFollowed(int userId, int targetUserId)
 {
     return(SocialData.BeFollowedWithTargetUser(new UserFollowed {
         UserId = userId, FollowedUserId = targetUserId
     }));
 }