소스 검색

调试支付

Robin 6 년 전
부모
커밋
24d4a1fc38
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      normandcrm/service/common/pay/PayForm.php

+ 2 - 0
normandcrm/service/common/pay/PayForm.php

@@ -181,9 +181,11 @@ class PayForm extends Model
         file_put_contents('huiqi4.txt',$payType);
         unset($data['token']);
         unset($data['payType']);
+
         $handler = BasePayHandler::getPayHandlerByPayType($payType);
         $success = false;
         if ($handler != null) {
+            file_put_contents('huiqidata.txt',\GuzzleHttp\json_encode($data));
             $success = $handler->handleNotify($data);
             $this->_outNotifyResult = $handler->outNotify($success);
         }