修改支付宝参数配置

This commit is contained in:
邹景立 2023-05-06 14:55:05 +08:00
parent 2fdb22b1ef
commit 98ffdf2575
2 changed files with 2 additions and 2 deletions

View File

@ -321,7 +321,7 @@ abstract class BasicAliPay
*/
private function getAliPublicKey()
{
$content = wordwrap($this->config->get('public_key'), 64, "\n", true);
$content = wordwrap($this->trimCert($this->config->get('public_key')), 64, "\n", true);
return "-----BEGIN PUBLIC KEY-----\n{$content}\n-----END PUBLIC KEY-----";
}