59 lines
1.7 KiB
C#
59 lines
1.7 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace MyCode.Project.Domain.Message.Response.User
|
||
{
|
||
public class WechatMiniUserInfo
|
||
{
|
||
|
||
///// <summary>
|
||
///// 用户的标识,对当前公众号唯一
|
||
///// </summary>
|
||
//public string Openid { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户的昵称
|
||
/// </summary>
|
||
public string NickName { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户的性别,值为1时是男性,值为2时是女性,值为0时是未知
|
||
/// </summary>
|
||
public int Sex { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户所在城市
|
||
/// </summary>
|
||
public string City { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户所在国家
|
||
/// </summary>
|
||
public string Country { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户所在省份
|
||
/// </summary>
|
||
public string Province { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户头像,最后一个数值代表正方形头像大小(有0、46、64、96、132数值可选,0代表640*640正方形头像),用户没有头像时该项为空。若用户更换头像,原有头像URL将失效。
|
||
/// </summary>
|
||
public string HeadImgUrl { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户关注时间,为时间戳。如果用户曾多次关注,则取最后关注时间
|
||
/// </summary>
|
||
public long SubscribeTime { get; set; }
|
||
|
||
///// <summary>
|
||
///// 只有在用户将公众号绑定到微信开放平台帐号后,才会出现该字段。
|
||
///// </summary>
|
||
//public string Unionid { get; set; }
|
||
|
||
}
|
||
}
|