计划测试伪静态
This commit is contained in:
@@ -46,5 +46,14 @@ namespace COMCMS.Web.Controllers
|
|||||||
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
|
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#region 测试
|
||||||
|
[Route("{path:regex([[a-zA-Z-/]])}/index.html")]
|
||||||
|
public IActionResult Test(string path="")
|
||||||
|
{
|
||||||
|
string tel = "13332835377";
|
||||||
|
return Content(tel.Substring(tel.Length - 5)+";path:"+path);
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,10 +14,11 @@ using Senparc.Weixin.TenPay.V3;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using COMCMS.Web.Common;
|
||||||
|
|
||||||
namespace COMCMS.Web.Controllers
|
namespace COMCMS.Web.Controllers
|
||||||
{
|
{
|
||||||
public class wxpaymentController : HomeController
|
public class wxpaymentController : HomeBaseController
|
||||||
{
|
{
|
||||||
#region 微信支付异步通知
|
#region 微信支付异步通知
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user