소스 검색

调试支付

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

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

@@ -67,7 +67,7 @@ class PayHandler extends BasePayHandler
      */
     public function handleNotify($data)
     {
-//        $data['secret'] = $this->Key;
+        $data['secret'] = $this->Key;
         $tt = print_r($data,true);
         file_put_contents('payplat_data.txt',$tt);
         if (isset($data['sign']) && trim($data['sign']) !== '') {
@@ -106,6 +106,7 @@ class PayHandler extends BasePayHandler
     public function outNotify($success)
     {
         if ($success == true) {
+            file_put_contents('huiqi6.txt',$success);
             return 'success';
         } else {
 			// 返回的数据格式