2021-02-02 00:26:48,126 [38] ERROR WeixinController - 请求微信Server生成二位码时出现异常, orderID=6834F80D-B5DB-4D94-ADCA-F86542281F79
WxPayAPI.WxPayException: System.Net.WebException: 操作超时
在 System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
在 System.Net.HttpWebRequest.GetRequestStream()
在 WxPayAPI.HttpService.Post(String xml, String url, Boolean isUseCert, Int32 timeout)
在 WxPayAPI.HttpService.Post(String xml, String url, Boolean isUseCert, Int32 timeout)
在 WxPayAPI.WxPayApi.UnifiedOrder(WxPayData inputObj, Int32 timeOut)
在 HRT.ParkWebApi.Controllers.WeixinController.<>c__DisplayClass1_0.<Create>b__0()
初步判断是是token后去频率高了,两小时处理了?
data.SetValue("time_expire", DateTime.Now.AddMinutes(WebAPIConfigs.Weixin_TimeoutMinutes).ToString("yyyyMMddHHmmss"));
data.SetValue("time_expire", DateTime.Now.AddMinutes(WebAPIConfigs.Weixin_TimeoutMinutes).ToString("yyyyMMddHHmmss"));
<!--APPID:绑定支付的APPID(必须配置)-->
<add key="Weixin_AppID" value="wx736c757c582a2e77" />