Commit 2e498f10 by 冷斌

fix bug

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