static void Main(string[] args)
        {
            WxHandle wxHandle     = new WxHandle();
            var      access_token = wxHandle.GetAccessToken().GetAwaiter().GetResult();

            Console.WriteLine(access_token);

            var ticket = wxHandle.GetTicket(access_token).GetAwaiter().GetResult();

            Console.WriteLine(ticket);

            var tuple = wxHandle.GetWxWebAuthenticationAccessToken("", openid => {
                //业务逻辑代码
            }).GetAwaiter().GetResult();

            //wxHandle.GetWxCode(access_token, "http://localhost:56956/FillBugsForBillDoc.aspx").GetAwaiter().GetResult();
            Console.ReadLine();
        }
 public HomeController()
 {
     _wx       = new WxHandle();
     _provider = new WeChatConfigurationProvider(System.Web.Hosting.HostingEnvironment.MapPath("~/wx.config.json"));
 }