namespace learun.wechat { /// /// 版 本 EasyCode EC管理后台 /// Copyright (c) 2019-present EC管理有限公司 /// 创建人:tobin /// 日 期:2019.11.06 /// 描 述:用户信息获取 /// public class OpenUserGet : OperationRequestBase { private string url = "https://api.weixin.qq.com/sns/userinfo?access_token={0}&openid={1}lang=zh_CN"; /// /// /// /// protected override string Url() { return string.Format(url, access_token, openid); } /// /// 普通用户标识,对该公众帐号唯一 /// /// [IsNotNull] public string openid { get; set; } /// /// token /// /// [IsNotNull] public string access_token { get; set; } } }