Cannot load privateKey from(string), please take care about

发布时间:2023-05-17作者:冰貂主人点击:113


// 从本地文件中加载「商户API私钥」,「商户API私钥」会用来生成请求的签名
$merchantPrivateKeyFilePath = 'file://D:/phpstudy_pro/WWW/anet/extend/p3/cert/apiclient_key.pem';
dump($merchantPrivateKeyFilePath);

不要有反斜杠。一律使用 / 并带file://。

标签: