Commit abe73b4a by 冷斌

fix bug

parent efb9be2c
......@@ -191,6 +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);
var_dump($_SERVER["REMOTE_ADDR"]);
$data = $wx->driver('wechat')->gateway('app')->pay([
'out_trade_no' => $orderid,
"body" => "充值{$coin}虚拟币",
......
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