2025-04-24 18:31:27 +08:00

59 lines
1.7 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}
}