/// <summary> /// 实例化 /// </summary> /// <param name="access_token">网页授权接口调用凭证,注意:此access_token与基础支持的access_token不同</param> /// <param name="openid">用户的唯一标识</param> /// <param name="lang">返回国家地区语言版本,zh_CN 简体,zh_TW 繁体,en 英语</param> public RequestParameter(string access_token, string openid, ENUM.Language lang) { this.access_token = access_token; this.openid = openid; this.lang = lang; }
/// <summary> /// 实例化 /// </summary> /// <param name="access_token">网页授权接口调用凭证,注意:此access_token与基础支持的access_token不同</param> /// <param name="openid">用户的唯一标识</param> /// <param name="lang">返回国家地区语言版本(默认:zh_CN),zh_CN 简体,zh_TW 繁体,en 英语</param> public UserInfoOperate(string access_token, string openid, ENUM.Language lang = ENUM.Language.zh_CN) { this.Parameter = new RequestParameter(access_token, openid, lang); }