李昊 4 years ago
parent
commit
a1028dae98

+ 1 - 6
gx_api/GxPress/Api/GxPress.Api/WebControllers/WxpayController.cs

@@ -1,8 +1,3 @@
-using System;
-using System.Collections.Generic;
-
-using System.Web;
-using System.Text;
 using GxPress.Common.WechatPay;
 using GxPress.Common.WechatPay;
 using Microsoft.AspNetCore.Authorization;
 using Microsoft.AspNetCore.Authorization;
 using Microsoft.AspNetCore.Http;
 using Microsoft.AspNetCore.Http;
@@ -67,7 +62,7 @@ namespace GxPress.Api.WebControllers
                 return (res.ToXml());
                 return (res.ToXml());
             }
             }
         }
         }
-        public async Task<WxPayData> GetNotifyData()
+        private async Task<WxPayData> GetNotifyData()
         {
         {
             var body = string.Empty;
             var body = string.Empty;
             //接收从微信后台POST过来的数据
             //接收从微信后台POST过来的数据