コード例 #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);
        }