Commit 10a5804c by 冷斌

fix bug

parent 92ffbcb9
......@@ -94,15 +94,16 @@ class Api_Charge extends PhalApi_Api {
return $rs;
}
require dirname(dirname(dirname(__DIR__))) . '/vendor/autoload.php';
var_dump(1);
$wx = \Yansongda\Pay\Pay::wechat([
$wx_config = [
'appid' => $configpri['wx_appid'],
'appSecret' => $configpri['wx_appsecret'],
'mch_id' => $configpri['wx_mchid'],
'key' => $configpri['wx_key'],
'notify_url' => $configpub['site'].'/index.php?g=Appapi&m=pay&a=notify_wx',
]);
var_dump(get_class_methods($wx));
'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);
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