using System; using System.Collections.Generic; using System.Text; namespace Tiobon.Core.Model.ViewModels { /// /// 微信接口消息DTO /// 作者:胡丁文 /// 时间:2020-03-25 /// public class WeChatApiDto { /// /// 微信公众号ID(数据库查询) /// public string id { get; set; } /// /// 错误代码 /// public int errcode { get; set; } /// /// 错误信息 /// public string errmsg { get; set; } /// /// token /// public string access_token { get; set; } /// /// 过期时间(秒) /// public int expires_in { get; set; } /// /// 用户关注数 /// public int total { get; set; } /// /// 获取用户数量 /// public int count { get; set; } /// /// 获取用户OpenIDs /// public WeChatOpenIDsDto data { get; set; } public List users { get; set; } /// /// 下一个关注用户 /// public string next_openid { get; set; } /// /// 微信消息模板列表 /// public WeChatTemplateList[] template_list { get; set; } /// /// 微信菜单 /// public WeChatMenuDto menu { get; set; } /// /// 二维码票据 /// public string ticket { get; set; } /// /// 二维码过期时间 /// public int expire_seconds { get; set; } /// /// 二维码地址 /// public string url { get; set; } /// /// 关注状态 /// public string subscribe { get; set; } /// /// 用户微信ID /// public string openid { get; set; } /// /// 昵称 /// public string nickname { get; set; } /// /// 性别 /// public int sex { get; set; } /// /// 语言 /// public string language { get; set; } /// /// 城市 /// public string city { get; set; } /// /// 省份 /// public string province { get; set; } /// /// 城市 /// public string country { get; set; } /// /// 头像地址 /// public string headimgurl { get; set; } } }