Commit f5e959c6 by 冷斌

fix bug

parent 34e3526d
......@@ -100,7 +100,6 @@ class Api_Charge extends PhalApi_Api {
'key' => $configpri['wx_key'],
'notify_url' => $configpub['site'].'/index.php?g=Appapi&m=pay&a=notify_wx',
];
// var_dump($wx_config);
try{
require dirname(dirname(dirname(__DIR__))) . '/vendor/autoload.php';
$wx = \Yansongda\Pay\Pay::wechat($wx_config);
......@@ -108,6 +107,8 @@ class Api_Charge extends PhalApi_Api {
}catch (\Exception $exception) {
var_dump($exception);
}
var_dump($wx_config);
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