diff --git a/application/api/controller/Payment.php b/application/api/controller/Payment.php index cdaed92..7b7a40c 100644 --- a/application/api/controller/Payment.php +++ b/application/api/controller/Payment.php @@ -229,11 +229,9 @@ class Payment extends Controller $mess = input("mess", ""); $timestamp = input("timestamp", ""); $sign = input("sign", ""); - Log::record("云账户回调信息".json_encode($_POST),"info"); write_log_redis("yunzhanghu_huidiao_原始数据",$_POST); $yun_pay = new YunPay(); $result = $yun_pay->yun_callback($data,$mess,$timestamp,$sign); - write_log_redis("yunzhanghu_huidiao_解密后数据",$result); if($result['code']==1){ $data = $result['data']; if($data){ diff --git a/extend/Yzh/YunPay.php b/extend/Yzh/YunPay.php index dc8ba8a..1dc8661 100644 --- a/extend/Yzh/YunPay.php +++ b/extend/Yzh/YunPay.php @@ -245,7 +245,7 @@ class YunPay $notifyReq = new NotifyRequest ($data, $mess, $timestamp, $sign) ;// 发起验签解密 try { $result = $notifyClient->verifyAndDecrypt($notifyReq) ; - Log::record("云账户回调信息-返回:".json_encode($result),"info"); + write_log_redis("云账户回调信息_解密返回",$result); $result = json_decode($result,true); if ($result['signRes']) { // 验签通过、解密成功