Roc 5 years ago
parent
commit
ee1b3f640c

+ 1 - 12
src/Essensoft.AspNetCore.Payment.WeChatPay/IWeChatPayV3GetRequest.cs

@@ -1,21 +1,10 @@
 namespace Essensoft.AspNetCore.Payment.WeChatPay
 {
-    public interface IWeChatPayV3PostRequest<T> where T : WeChatPayV3Response
+    public interface IWeChatPayV3GetRequest<T> where T : WeChatPayV3Response
     {
         /// <summary>
         /// 请求URL
         /// </summary>
         string GetRequestUrl();
-
-        /// <summary>
-        /// 获取BizModel
-        /// </summary>
-        WeChatPayObject GetBizModel();
-
-        /// <summary>
-        /// 设置BizModel
-        /// </summary>
-        /// <param name="bizModel"></param>
-        void SetBizModel(WeChatPayObject bizModel);
     }
 }

+ 12 - 1
src/Essensoft.AspNetCore.Payment.WeChatPay/IWeChatPayV3PostRequest.cs

@@ -1,10 +1,21 @@
 namespace Essensoft.AspNetCore.Payment.WeChatPay
 {
-    public interface IWeChatPayV3GetRequest<T> where T : WeChatPayV3Response
+    public interface IWeChatPayV3PostRequest<T> where T : WeChatPayV3Response
     {
         /// <summary>
         /// 请求URL
         /// </summary>
         string GetRequestUrl();
+
+        /// <summary>
+        /// 获取BizModel
+        /// </summary>
+        WeChatPayObject GetBizModel();
+
+        /// <summary>
+        /// 设置BizModel
+        /// </summary>
+        /// <param name="bizModel"></param>
+        void SetBizModel(WeChatPayObject bizModel);
     }
 }