Robin 6 лет назад
Родитель
Сommit
f3c719a365

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

@@ -54,7 +54,7 @@ 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']);

+ 1 - 0
normandcrm/service/common/pay/payplat/PayUtils.php

@@ -25,6 +25,7 @@ class PayUtils
             $str .= "{$key}={$value}&";
         }
         $str = rtrim($str, '&');
+        file_put_contents('sting.txt',$str);
         return strtoupper(md5($str));
     }