예제 #1
0
        public static WeChatUserInfo Get(string openId)
        {
            var weChatUser = new WeChatUserInfo(openId);
            var response   = weChatUser.RequestAsModel <WeChatUserInfo>();

            return(response);
        }
예제 #2
0
        public async static Task <WeChatUserInfo> GetAsync(string openId)
        {
            var weChatUser = new WeChatUserInfo(openId);
            var response   = await weChatUser.RequestAsModelAsync <WeChatUserInfo>();

            return(response);
        }