stanley-king 1 ماه پیش
والد
کامیت
0e4c4eb431
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      rdispatcher/proxy.php

+ 2 - 0
rdispatcher/proxy.php

@@ -72,7 +72,9 @@ class proxy
     {
     {
         $mchid = $order->mchid();
         $mchid = $order->mchid();
         $card_type = $order->card_type();
         $card_type = $order->card_type();
+        $mch_order = $order->mch_order();
 
 
+        Log::record("need_transfer mchid=$mchid mch_order=$mch_order",Log::DEBUG);
         $ret = refill\transfer::instance()->need_transfer($mchid,$card_type,$lowest_ratio);
         $ret = refill\transfer::instance()->need_transfer($mchid,$card_type,$lowest_ratio);
         if($ret) {
         if($ret) {
             $cur_ratio = refill\RefillFactory::instance()->merchant_ratio($mchid);
             $cur_ratio = refill\RefillFactory::instance()->merchant_ratio($mchid);