瀏覽代碼

修正为 targetAppId

Roc 5 年之前
父節點
當前提交
a04420e0d1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Essensoft.AspNetCore.Payment.Alipay/AlipayClient.cs

+ 1 - 1
src/Essensoft.AspNetCore.Payment.Alipay/AlipayClient.cs

@@ -401,7 +401,7 @@ namespace Essensoft.AspNetCore.Payment.Alipay
                 txtParams.Add(AlipayConstants.APP_AUTH_TOKEN, appAuthToken);
             }
 
-            if (!string.IsNullOrEmpty(appAuthToken))
+            if (!string.IsNullOrEmpty(targetAppId))
             {
                 txtParams.Add(AlipayConstants.TARGET_APP_ID, targetAppId);
             }