diff --git a/app/Libs/AlipayF2F.class.php b/app/Libs/AlipayF2F.class.php index ca853f5..31a29ab 100644 --- a/app/Libs/AlipayF2F.class.php +++ b/app/Libs/AlipayF2F.class.php @@ -48,7 +48,7 @@ class AlipayF2F $options->signType = 'RSA2'; // 为避免私钥随源码泄露,推荐从文件中读取私钥字符串而不是写入源码中 - $options->merchantPrivateKey = env("ALI_MERCHANT_KEY"); + $options->merchantPrivateKey = env("ALI_APP_PRIVATE_KEY"); $options->appId = env("ALI_APP_ID"); //$options->alipayCertPath = env("ALI_CERT_ALIPAY");