mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-06 03:58:03 +08:00
修改支付宝参数配置
This commit is contained in:
parent
2fdb22b1ef
commit
98ffdf2575
@ -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-----";
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
*/
|
||||
|
||||
return [
|
||||
// 沙箱模式
|
||||
// 沙箱模式
|
||||
'debug' => true,
|
||||
// 签名类型 ( RSA|RSA2 )
|
||||
'sign_type' => 'RSA2',
|
||||
|
Loading…
x
Reference in New Issue
Block a user