Commit 063e1208 authored by 吴春's avatar 吴春

提交代码

parent 83ffc508
......@@ -36,7 +36,7 @@ namespace Mall.Common.Pay.WeChatPat
/// <param name="_accessor"></param>
public ResponseHandler(IHttpContextAccessor _accessor)
{
xmlMap = new Hashtable();
XmlMap = new Hashtable();
#region
//注意:如果用以下读取流的方法,.net core 3.0 以后一定要加下边那段
//.net core 3.0以后需加下边这段,否则Stream会报错
......
......@@ -63,7 +63,7 @@ namespace Mall.WebApi.Controllers.AppletWeChat
int UserId = Convert.ToInt32(dic["bIsRecharge"]);
string TransactionId = dic["sTradeNo"];
string PayType = dic["OrderPayType"];
DateTime PayDate = Convert.ToDateTime(dic["PayDate"]);
DateTime PayDate = DateTime.ParseExact(dic["PayDate"], "yyyyMMddHHmmss", System.Globalization.CultureInfo.CurrentCulture);//转换时间// Convert.ToDateTime(dic["PayDate"]);
#region 新增订单支付信息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment