diff --git a/GDZZ.Application/Service/WXPay/WXPayService.cs b/GDZZ.Application/Service/WXPay/WXPayService.cs index 27d66ff..a48771d 100644 --- a/GDZZ.Application/Service/WXPay/WXPayService.cs +++ b/GDZZ.Application/Service/WXPay/WXPayService.cs @@ -19,6 +19,7 @@ using Senparc.Weixin.Sample.CommonService.TemplateMessage; using System.IO; using System.Text; using Senparc.Weixin.Exceptions; +using Microsoft.AspNetCore.Authorization; namespace GDZZ.Application.Service.WXPay { @@ -164,7 +165,8 @@ namespace GDZZ.Application.Service.WXPay /// [HttpPost] [Route("Mini/v1/NotifyUrl")] - + [UnifyResult(typeof(string))] + [AllowAnonymous] public async Task NotifyUrl() { diff --git a/GDZZ.Web.Entry/App_Data/TenPayNotify/20230323/20230323-163312-56ed2472.txt b/GDZZ.Web.Entry/App_Data/TenPayNotify/20230323/20230323-163312-56ed2472.txt new file mode 100644 index 0000000..19b16cc --- /dev/null +++ b/GDZZ.Web.Entry/App_Data/TenPayNotify/20230323/20230323-163312-56ed2472.txt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/GDZZ.Web.Entry/App_Data/TenPayNotify/20230323/20230323-163624-50d21125.txt b/GDZZ.Web.Entry/App_Data/TenPayNotify/20230323/20230323-163624-50d21125.txt new file mode 100644 index 0000000..19b16cc --- /dev/null +++ b/GDZZ.Web.Entry/App_Data/TenPayNotify/20230323/20230323-163624-50d21125.txt @@ -0,0 +1 @@ + \ No newline at end of file