From f2ddb33a36b91310667a111e1b5dce6b48ff4eee Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Mon, 11 Nov 2019 17:32:47 +0800 Subject: [PATCH] paycallback --- Application/Sdk/Controller/SpendController.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Application/Sdk/Controller/SpendController.class.php b/Application/Sdk/Controller/SpendController.class.php index 65da041c..ac078eca 100644 --- a/Application/Sdk/Controller/SpendController.class.php +++ b/Application/Sdk/Controller/SpendController.class.php @@ -299,7 +299,12 @@ ADD COLUMN `pay_url` varchar(255) NOT NULL DEFAULT '' AFTER `check_sign`; } else { $this->assign("sqzfb", 0); } + $payway = 'wxpay'; + if ($result['pay_way'] == 1 || get_zfb_type() == 2) { + $payway = 'alipay'; + } // pp($orderno); + $this->assign('payway', $payway); $this->assign("orderno", $orderno); $this->assign("paytype", $paytype); $this->assign ('pay_url', $result['pay_url']);