Commit 299a4cf6 by 冷斌

fix bug

parent 109adcbc
......@@ -95,7 +95,14 @@ class Api_Charge extends PhalApi_Api {
}
require dirname(dirname(dirname(__DIR__))) . '/vendor/autoload.php';
var_dump(1);
var_dump(get_class_methods($this->getWx($configpri, $configpub)));
$wx = Yansongda\Pay\Pay::wechat([
'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));
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