.NET CORE 获取微信支付回调
1、获取微信支付的回调的数据
Stream stream = HttpContext.Request.Body;
byte[] buffer = new byte[HttpContext.Request.ContentLength.Value];
stream.Read(buffer, 0, buffer.Length);
string content = Encoding.UTF8.GetString(buffer);
_log.Info($"微信返回数据:{content}");
posted on 2019-05-15 14:14 topguntopgun 阅读(1168) 评论(1) 编辑 收藏 举报