0
Vote

建立用户数据接口

description

用户数据接口是用来:
1.  获取微薄用户信息,包含当前登录用户和其它用户
2.  可以用来显示用户的基本信息,包含文本信息和头像Image路径
3.  是所有类型微博的用户接口
 
需要包含的属性(IUser):
        /// <summary>
        /// 用户UID
        /// </summary>
        string UserId { get; set; }
        /// <summary>
        /// 微博昵称
        /// </summary>
        string ScreenName { get; set; }
        /// <summary>
        /// 友好显示名称,同微博昵称
        /// </summary>
        string Name { get; set; }
        /// <summary>
        /// 省份编码(参考省份编码表)
        /// </summary>
        string Province { get; set; }
        /// <summary>
        /// 城市编码(参考城市编码表)
        /// </summary>
        string City { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        string Location { get; set; }
        /// <summary>
        /// 个人描述
        /// </summary>
        string Description { get; set; }
        /// <summary>
        /// 自定义图像
        /// </summary>
        string ProfileImage { get; set; }
        /// <summary>
        /// 用户博客地址
        /// </summary>
        string Url { get; set; }
        /// <summary>
        /// 用户个性化URL
        /// </summary>
        string Domain { get; set; }
        /// <summary>
        /// 性别,m--男,f--女,n--未知
        /// </summary>
        Gender Gender { get; set; }
        /// <summary>
        /// 粉丝数
        /// </summary>
        int FollowersCount { get; set; }
        /// <summary>
        /// 关注数
        /// </summary>
        int FriendsCount { get; set; }
        /// <summary>
        /// 微博数
        /// </summary>
        int StatusCount { get; set; }
        /// <summary>
        /// 收藏数
        /// </summary>
        int FavoritesCount { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        DateTime Createdtime { get; set; }
        /// <summary>
        /// 是否已关注
        /// </summary>
        bool Following { get; set; }
        /// <summary>
        /// 加V标示,是否微博认证用户
        /// </summary>
        bool Verified { get; set; }

comments

wrote Dec 10, 2010 at 1:45 PM

Associated with changeset 70592.

wrote Dec 20, 2010 at 1:10 PM

Resolved with changeset 71036.

wrote Dec 30, 2010 at 1:38 PM

wrote Feb 1, 2013 at 11:40 PM