From 222b9d2ec6ed4eff5a6f7bcdf6c617224136bf35 Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Wed, 20 Nov 2019 20:10:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E0.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Callback/Controller/Notify2Controller.class.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Application/Callback/Controller/Notify2Controller.class.php b/Application/Callback/Controller/Notify2Controller.class.php index 946da9702..155c1a8ee 100644 --- a/Application/Callback/Controller/Notify2Controller.class.php +++ b/Application/Callback/Controller/Notify2Controller.class.php @@ -31,7 +31,6 @@ class Notify2Controller extends BaseController exit('Access Denied'); } } - Log::write($notify, Log::DEBUG); $pay_way = $apitype; if ($apitype == "swiftpass") { $apitype = "weixin"; @@ -39,10 +38,8 @@ class Notify2Controller extends BaseController Vendor('Alipay.AopSdk'); $aop = new \AopClient(); $aop->alipayrsaPublicKey = file_get_contents("./Application/Sdk/SecretKey/alipay/alipay2_public_key.txt"); - $result2 = $aop->getSignContent($notify); - - Log::write(json_encode($result2),Log::DEBUG); $result = $aop->rsaCheckV1($notify,"",'RSA2'); + Log::write(json_encode($notify),Log::DEBUG); Log::write(json_encode($result),Log::DEBUG); if ($result) { //获取回调订单信息