zz 6 年之前
父节点
当前提交
549bc8eabf
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      app/Libs/Pay/Merchants/Official.php

+ 3 - 1
app/Libs/Pay/Merchants/Official.php

@@ -66,7 +66,7 @@ class Official
         ];
         $order = new Wxorder($attributes);
         $result = $payment->prepare($order);
-        Log::info('Official -------pay-----result----------');
+        Log::info('Official -------pay-----result---------- order is: '.$data['trade_no']);
         Log::info($result);
         if ($result->return_code == 'SUCCESS' && $result->result_code == 'SUCCESS') {
             $data = [
@@ -79,6 +79,8 @@ class Official
             $data['paySign'] = $this->MakeSign($data);
             return $data;
         }
+        Log::error('pay error order is: '.$data['trade_no']);
+        Log::error($result);
         return [];
     }