Commit 366c49b1 by 冷斌

fix bug

parent 6b5d0298
...@@ -40,6 +40,8 @@ $input->SetTime_start(date("YmdHis")); ...@@ -40,6 +40,8 @@ $input->SetTime_start(date("YmdHis"));
$input->SetTime_expire(date("YmdHis", time() + 600)); $input->SetTime_expire(date("YmdHis", time() + 600));
$input->SetGoods_tag($uid); $input->SetGoods_tag($uid);
$input->SetNotify_url('http://'.$_SERVER['HTTP_HOST'].'/wxpay/pay/notify_jsapi.php'); $input->SetNotify_url('http://'.$_SERVER['HTTP_HOST'].'/wxpay/pay/notify_jsapi.php');
echo 'http://'.$_SERVER['HTTP_HOST'].'/wxpay/pay/notify_jsapi.php';
die;
$input->SetTrade_type("JSAPI"); $input->SetTrade_type("JSAPI");
$input->SetOpenid($openId); $input->SetOpenid($openId);
$order = WxPayApi::unifiedOrder($input); $order = WxPayApi::unifiedOrder($input);
......
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