Robin 6 роки тому
батько
коміт
d495d4e4e5
1 змінених файлів з 3 додано та 1 видалено
  1. 3 1
      normandcrm/service/common/pay/payplat/PayHandler.php

+ 3 - 1
normandcrm/service/common/pay/payplat/PayHandler.php

@@ -54,8 +54,10 @@ class PayHandler extends BasePayHandler
         $data['sdNotifyUrl']  = $this->notifyUrl;           //异步回调地址
 
         $data['secret'] = $this->Key;                       //签名的秘钥
-
+        file_put_contents('sting.txt',\GuzzleHttp\json_encode($data));
         $data['sign'] = PayUtils::makeSign($data);
+
+        file_put_contents('sign.txt',$data['sign']);
         $result = static::createHtml($data, $this->payUrl);
         return  $result;
     }