stanley-king 4 vuotta sitten
vanhempi
commit
06f71e0b5a
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      helper/refill/RefillBase.php

+ 3 - 0
helper/refill/RefillBase.php

@@ -217,6 +217,7 @@ class RefillBase
     {
         $card_type = mtopcard\card_type($card_no);
         [$providers,$overload] = $this->mPolicy->find_providers($amount,$card_type,$quality);
+        Log::record(__FUNCTION__ . "  find_providers",Log::DEBUG);
 
         if (empty($providers))
         {
@@ -236,6 +237,8 @@ class RefillBase
         $calc = new CalcMerchantPrice($mchid, $amount, $card_type,$quality);
         $mch_amount = $calc->calc_vgoods_price([]);
 
+        Log::record(__FUNCTION__ . "  calc_vgoods_price",Log::DEBUG);
+
         $available = $minfo->available_predeposit();
         if ($mch_amount > $available) {
             Log::record("下单时机构余额不足,可用余额为:{$available}", Log::DEBUG);