Beispiel #1
0
        public WxApiUserInfoResult GetUserInfoByApiToken(string accessToken, string openId)
        {
            WxApi         api             = new WxApi();
            WxApiUserInfo snsUserInfo     = new WxApiUserInfo(accessToken, openId);
            var           userInfo_Result = api.DoGet(snsUserInfo);

            return(userInfo_Result);
        }
Beispiel #2
0
 public static void WxApiUserInfoTest(string access_token, string open_id)
 {
     WxApi         c           = new WxApi();
     WxApiUserInfo apiUserInfo = new WxApiUserInfo(access_token, open_id);
     var           result      = c.DoGet(apiUserInfo);
 }