Commit 2a30f370 by 冷斌

update

parent b759161f
......@@ -94,13 +94,13 @@ class Api_Charge extends PhalApi_Api {
$noceStr = md5(rand(100,1000).time());//获取随机字符串
$time = time();
//$configpub['site'].'/Appapi/pay/notify_wx',
$paramarr = array(
"appid" => $configpri['wx_appid'],
"body" => "充值{$coin}虚拟币",
"mch_id" => $configpri['wx_mchid'],
"nonce_str" => $noceStr,
"notify_url" => $configpub['site'].'/Appapi/pay/notify_wx',
"notify_url" => $configpub['site'].'/index.php?g=Appapi&m=pay&a=notify_wx',
"out_trade_no"=> $orderid,
"total_fee" => $money*100,
"trade_type" => "APP"
......
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