Commit 60709ff7 by 冷斌

fix bug

parent 10a5804c
......@@ -102,8 +102,12 @@ class Api_Charge extends PhalApi_Api {
'notify_url' => $configpub['site'].'/index.php?g=Appapi&m=pay&a=notify_wx',
];
var_dump($wx_config);
$wx = \Yansongda\Pay\Pay::wechat($wx_config);
var_dump($wx);
try{
$wx = \Yansongda\Pay\Pay::wechat($wx_config);
var_dump($wx);
}catch (\Exception $exception) {
var_dump($exception);
}
die;
$orderinfo=array(
......
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