WeChatPayNotifyResult.cs 364 B

1234567891011
  1. using Microsoft.AspNetCore.Mvc;
  2. namespace WebApplicationSample.Helpers
  3. {
  4. public class WeChatPayNotifyResult
  5. {
  6. private static readonly ContentResult _success = new ContentResult { Content = "<xml><return_code><![CDATA[SUCCESS]]></return_code></xml>", ContentType = "text/xml" };
  7. public static IActionResult Success => _success;
  8. }
  9. }