de2bd2f9
“wangming”
项目初始化
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
using System;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace Alipay.AopSdk.AspnetCore
{
/// <summary>
/// 支付宝支付 中间件
/// 作者:李志强
/// 时间:2017年10月31日
/// </summary>
public class AlipayMiddleware
{
private readonly RequestDelegate _next;
public AlipayMiddleware(RequestDelegate next)
{
_next = next;
}
public Task Invoke(HttpContext context)
{
return this._next(context);
}
}
}
|