linwu 2 năm trước cách đây
mục cha
commit
afdc6ef3d7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/admin/controller/Index.php

+ 1 - 1
app/admin/controller/Index.php

@@ -28,7 +28,7 @@ class Index
         $merchantCertificateSerial = config('wxconfig.serial');
 
 // 从本地文件中加载「微信支付平台证书」,用来验证微信支付应答的签名
-        $platformCertificateFilePath = file_get_contents(root_path('/extend/payment/cert') . 'apiclient_cert.pem');
+        $platformCertificateFilePath = file_get_contents(root_path('/extend/payment/cert') . 'cert.pem');
         $platformPublicKeyInstance   = Rsa::from($platformCertificateFilePath, Rsa::KEY_TYPE_PUBLIC);
 
 // 从「微信支付平台证书」中获取「证书序列号」