Robin 6 vuotta sitten
vanhempi
commit
24d4a1fc38
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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);
         }