...
|
...
|
@@ -19,16 +19,7 @@ class Pay extends WechatBase |
|
|
function _initialize()
|
|
|
{
|
|
|
parent::_initialize();
|
|
|
$this->options = [
|
|
|
'app_id' => 'wx8aa97c3f0b29accb',
|
|
|
'secret' => '79d251389b78f3603e796a6f9b992cc2',
|
|
|
'payment' => [
|
|
|
'merchant_id' => '1559598041',
|
|
|
'key' => 'JEV45KQewTHopscD9uQj0IBigQTtS2IF',
|
|
|
'cert_path' => '../wechat/cert/apiclient_cert.pem', // XXX: 绝对路径!!!!
|
|
|
'key_path' => '../wechat/cert/apiclient_key.pem', // XXX: 绝对路径!!!!
|
|
|
]
|
|
|
];
|
|
|
$this->options = config('wechat');
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|