Commit b6f17675 by 冷斌

fix bug

parent 9375e3bb
...@@ -106,16 +106,10 @@ class Api_Charge extends PhalApi_Api { ...@@ -106,16 +106,10 @@ class Api_Charge extends PhalApi_Api {
'max_file' => 30, // optional, 当 type 为 daily 时有效,默认 30 天 'max_file' => 30, // optional, 当 type 为 daily 时有效,默认 30 天
], ],
]; ];
var_dump($wx_config);
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);
var_dump($wx); var_dump($wx_config, $wx);
}catch (\Exception $exception) {
var_dump($exception);
}
die; die;
$orderinfo=array( $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