Commit a3d841cc by 冷斌

fix bug

parent 2fdca42c
...@@ -186,10 +186,9 @@ class Api_Charge extends PhalApi_Api { ...@@ -186,10 +186,9 @@ class Api_Charge extends PhalApi_Api {
'notify_url' => 'http://www.seals-live.com/index.php?g=Appapi&m=pay&a=notify_wx', 'notify_url' => 'http://www.seals-live.com/index.php?g=Appapi&m=pay&a=notify_wx',
] ]
]; ];
var_dump($wx_config);
require dirname(dirname(dirname(__DIR__))) . '/vendor/autoload.php'; die;
$wx = new \Yansongda\Pay\Pay($wx_config); $wx = new \Yansongda\Pay\Pay($wx_config);
$data = $wx->app($orderid); $data = $wx->app($orderid);
$rs['info'][0]=json_decode($data, true); $rs['info'][0]=json_decode($data, true);
return $rs; return $rs;
......
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