修改回调返回

development
温天培 2 years ago
parent 96fb0c0afb
commit 5c63d8ec7e

@ -19,6 +19,7 @@ using Senparc.Weixin.Sample.CommonService.TemplateMessage;
using System.IO; using System.IO;
using System.Text; using System.Text;
using Senparc.Weixin.Exceptions; using Senparc.Weixin.Exceptions;
using Microsoft.AspNetCore.Authorization;
namespace GDZZ.Application.Service.WXPay namespace GDZZ.Application.Service.WXPay
{ {
@ -164,7 +165,8 @@ namespace GDZZ.Application.Service.WXPay
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
[Route("Mini/v1/NotifyUrl")] [Route("Mini/v1/NotifyUrl")]
[UnifyResult(typeof(string))]
[AllowAnonymous]
public async Task<string> NotifyUrl() public async Task<string> NotifyUrl()
{ {

Loading…
Cancel
Save