Ver código fonte

调试支付

Robin 6 anos atrás
pai
commit
2dc47b15ec
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      normandcrm/service/common/pay/PayForm.php

+ 1 - 1
normandcrm/service/common/pay/PayForm.php

@@ -180,9 +180,9 @@ class PayForm extends Model
             $handler = BasePayHandler::getPayHandlerByPayType(19);
         }else{
             $handler = BasePayHandler::getPayHandlerByPayType($payType);
+            unset($data['payType']);
         }
         unset($data['token']);
-        unset($data['payType']);
         $success = false;
         if ($handler != null) {
             file_put_contents('huiqidata.txt',\GuzzleHttp\json_encode($data));