瀏覽代碼

重复了.

Roc 7 年之前
父節點
當前提交
792fb99dc0
共有 1 個文件被更改,包括 0 次插入9 次删除
  1. 0 9
      src/Essensoft.AspNetCore.Payment.WeChatPay/WeChatPayClient.cs

+ 0 - 9
src/Essensoft.AspNetCore.Payment.WeChatPay/WeChatPayClient.cs

@@ -212,15 +212,6 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay
 
                 sortedTxtParams.Add(workwx_sign, WeChatPaySignature.SignWithSecret(sortedTxtParams, options.Secret, sign_list));
             }
-            else if (request is WeChatPayQueryWorkWxRedPackRequest)
-            {
-                if (string.IsNullOrEmpty(sortedTxtParams.GetValue(appid)))
-                {
-                    sortedTxtParams.Add(appid, options.AppId);
-                }
-
-                sortedTxtParams.Add(mch_id, options.MchId);
-            }
             else if (request is WeChatPayPayWwSpTrans2PockeRequest)
             {
                 if (string.IsNullOrEmpty(sortedTxtParams.GetValue(appid)))