Skip to content

Commit

Permalink
修复码支付
Browse files Browse the repository at this point in the history
  • Loading branch information
assimon authored May 17, 2018
1 parent a3ba55f commit b3e248e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pay/mazf/send.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"type" => $paycode,//1支付宝支付 3微信支付 2QQ钱包
"price" => $order['cmoney'],//金额100元
"param" => "",//自定义参数
"notify_url"=>$payDao->urlbase.$_SERVER['HTTP_HOST'].'/pay/paysapi/notify.php',//通知地址
"return_url"=> $payDao->urlbase.$_SERVER['HTTP_HOST'].'/pay/paysapi/return.php',//跳转地址
"notify_url"=>$payDao->urlbase.$_SERVER['HTTP_HOST'].'/pay/mazf/notify.php',//通知地址
"return_url"=> $payDao->urlbase.$_SERVER['HTTP_HOST'].'/pay/mazf/return.php',//跳转地址
); //构造需要传递的参数

ksort($data); //重新排序$data数组
Expand All @@ -38,4 +38,4 @@
$query = $urls . '&sign=' . md5($sign .$payconf['userkey']); //创建订单所需的参数
$url = "http://api2.fateqq.com:52888/creat_order/?{$query}"; //支付页面

header("Location:{$url}"); //跳转到支付页面
header("Location:{$url}"); //跳转到支付页面

0 comments on commit b3e248e

Please sign in to comment.