Update BasicAliPay.php

This commit is contained in:
邹景立 2023-05-06 14:55:57 +08:00
parent 98ffdf2575
commit 6cb56ec0ed

View File

@ -230,7 +230,6 @@ abstract class BasicAliPay
*/ */
protected function trimCert($sign) protected function trimCert($sign)
{ {
// if (file_exists($sign)) $sign = file_get_contents($sign);
return preg_replace(['/\s+/', '/-{5}.*?-{5}/'], '', $sign); return preg_replace(['/\s+/', '/-{5}.*?-{5}/'], '', $sign);
} }