public static void weixin(string Url) { JsApiPay jsApiPay = new JsApiPay(); try { jsApiPay.weixin(Url); } catch (Exception ex) { } }