feat: 完成支持微信扫码功能

This commit is contained in:
ccnetcore
2025-08-27 23:42:46 +08:00
parent 28fcd6c9ce
commit b768bca638
21 changed files with 618 additions and 17 deletions

View File

@@ -0,0 +1,52 @@
namespace Yi.Framework.AiHub.Domain.Managers.Fuwuhao;
/// <summary>
/// 用户信息响应对象
/// </summary>
public class UserInfoResponse
{
/// <summary>
/// 用户OpenID
/// </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 Province { get; set; }
/// <summary>
/// 普通用户个人资料填写的城市
/// </summary>
public string City { get; set; }
/// <summary>
/// 国家如中国为CN
/// </summary>
public string Country { get; set; }
/// <summary>
/// 用户头像最后一个数值代表正方形头像大小有0、46、64、96、132数值可选0代表640*640正方形头像
/// </summary>
public string HeadImgUrl { get; set; }
/// <summary>
/// 用户特权信息
/// </summary>
public string[] Privilege { get; set; }
/// <summary>
/// 用户UnionID
/// </summary>
public string UnionId { get; set; }
}