Commit c915953d by 冷斌

fix bug

parent 2e498f10
......@@ -191,7 +191,7 @@ class Api_Charge extends PhalApi_Api {
ini_set("display_errors", On);
ini_set("error_reporting", E_ALL);
$wx = new \Yansongda\Pay\Pay($wx_config);
$data = $wx->pay([
$data = $wx->driver('wechat')->gateway('app')->pay([
'out_trade_no' => $orderid,
"body" => "充值{$coin}虚拟币",
"total_fee" => $money*100,
......
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