Commit 165597f0 by 冷斌

fix bug

parent c915953d
...@@ -182,7 +182,7 @@ class Api_Charge extends PhalApi_Api { ...@@ -182,7 +182,7 @@ class Api_Charge extends PhalApi_Api {
$wx_config = [ $wx_config = [
'wechat' => [ 'wechat' => [
'appid' => 'wxa6bcebff7f4c5a3f', 'appid' => 'wxa6bcebff7f4c5a3f',
'appSecret' => '4b7d6cd67fc566659fd1d9bd399dbcba', // 'appSecret' => '4b7d6cd67fc566659fd1d9bd399dbcba',
'mch_id' => '1582052881', 'mch_id' => '1582052881',
'key' => 'XCthxXszMdXiybUZnJBxyVgyVnV4zPuQ', 'key' => 'XCthxXszMdXiybUZnJBxyVgyVnV4zPuQ',
'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',
...@@ -195,7 +195,7 @@ class Api_Charge extends PhalApi_Api { ...@@ -195,7 +195,7 @@ class Api_Charge extends PhalApi_Api {
'out_trade_no' => $orderid, 'out_trade_no' => $orderid,
"body" => "充值{$coin}虚拟币", "body" => "充值{$coin}虚拟币",
"total_fee" => $money*100, "total_fee" => $money*100,
"trade_type" => "APP" "spbill_create_ip" => ""
]); ]);
var_dump($wx_config, $data); var_dump($wx_config, $data);
die; die;
......
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