瀏覽代碼

retry result log add err msg

ayHaru 4 年之前
父節點
當前提交
b4b86388d4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      helper/refill/RefillFactory.php

+ 1 - 1
helper/refill/RefillFactory.php

@@ -471,7 +471,7 @@ class RefillFactory
         $card_name = $refill_info['card_name'] ?? '';
 
         [$success, $err] = $this->add($mchid, $buyer_id, $amount, $card_no, $mch_order, $idcard, $card_name, $notify_url, $order_time, $commit_times);
-        Log::record("retry result:{$success}", Log::DEBUG);
+        Log::record("retry result:{$success} , err: {$err}", Log::DEBUG);
         return ($success === true);
     }