From 407176d5431d8d59dad8af1ff71a4625b0b5e2a6 Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Tue, 5 Nov 2019 16:23:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=AB=E6=8D=B7=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/WapPayController.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Application/Sdk/Controller/WapPayController.class.php b/Application/Sdk/Controller/WapPayController.class.php index a52e5f5e..3486f6ca 100644 --- a/Application/Sdk/Controller/WapPayController.class.php +++ b/Application/Sdk/Controller/WapPayController.class.php @@ -227,7 +227,8 @@ class WapPayController extends BaseController{ */ public function shortcut_pay() { $sqpay = new Sqpay(); - $param = I(); + $param = I("request."); + $signContract = false; // 签约标记 if (!$param['user_id'] || !$param['game_id']) { @@ -268,7 +269,7 @@ class WapPayController extends BaseController{ 'secret' => C('sqpay.key'), )); //echo "发起支付==》".time()."
"; - sleep(5); +// sleep(5); if ($rsp['responseCode'] == '88') { redirect(U('Spend/pay_success',array('orderno' => $payInfo['order_id'], 'user_id'=>$param['user_id'],'game_id'=>$param['game_id'])));exit; } else {