From c211c493ed583670a58c0a14d7139036c5ae3d39 Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Wed, 20 Nov 2019 18:07:47 +0800 Subject: [PATCH] 1 --- Application/Callback/Controller/Notify2Controller.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/Callback/Controller/Notify2Controller.class.php b/Application/Callback/Controller/Notify2Controller.class.php index 98622c09c..887e17afc 100644 --- a/Application/Callback/Controller/Notify2Controller.class.php +++ b/Application/Callback/Controller/Notify2Controller.class.php @@ -3,7 +3,7 @@ namespace Callback\Controller; use Org\UcenterSDK\Ucservice; - +use Think\Log; /** * 新版支付回调控制器 @@ -31,7 +31,7 @@ class Notify2Controller extends BaseController exit('Access Denied'); } } - + Log::write(serialize($notify), Log::DEBUG); $pay_way = $apitype; if ($apitype == "swiftpass") { $apitype = "weixin"; @@ -40,7 +40,7 @@ class Notify2Controller extends BaseController $aop = new \AopClient(); $aop->alipayrsaPublicKey = file_get_contents("./Application/Sdk/SecretKey/alipay/alipay2_public_key.txt"); $result = $aop->rsaCheckV1($notify,'','RSA2'); - + Log::write(serialize($result), Log::DEBUG); if ($result) { //获取回调订单信息 if (I('get.methodtype') == "notify") {