Exemplo n.º 1
0
        public static WeChatUserInfo Get(string openId)
        {
            var weChatUser = new WeChatUserInfo(openId);
            var response   = weChatUser.RequestAsModel <WeChatUserInfo>();

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

            return(response);
        }