Commit be2c9560 by 冷斌

fix bug

parent 9cf0e141
...@@ -107,6 +107,8 @@ class Api_Charge extends PhalApi_Api { ...@@ -107,6 +107,8 @@ class Api_Charge extends PhalApi_Api {
], ],
]; ];
\Yansongda\Pay\Log::debug('Wechat notify', $wx_config); \Yansongda\Pay\Log::debug('Wechat notify', $wx_config);
var_dump($wx_config);
try{ try{
require dirname(dirname(dirname(__DIR__))) . '/vendor/autoload.php'; require dirname(dirname(dirname(__DIR__))) . '/vendor/autoload.php';
$wx = \Yansongda\Pay\Pay::wechat($wx_config); $wx = \Yansongda\Pay\Pay::wechat($wx_config);
...@@ -114,7 +116,6 @@ class Api_Charge extends PhalApi_Api { ...@@ -114,7 +116,6 @@ class Api_Charge extends PhalApi_Api {
}catch (\Exception $exception) { }catch (\Exception $exception) {
var_dump($exception); var_dump($exception);
} }
var_dump($wx_config);
die; die;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment