|
@@ -203,8 +203,6 @@ class RefillBase
|
|
|
{
|
|
|
$card_type = mtopcard\card_type($card_no);
|
|
|
[$providers,$overload] = $this->mPolicy->find_providers($amount,$card_type,$quality);
|
|
|
- Log::record(__FUNCTION__ . " 1",Log::DEBUG);
|
|
|
-
|
|
|
|
|
|
if (empty($providers))
|
|
|
{
|
|
@@ -223,7 +221,6 @@ class RefillBase
|
|
|
$minfo = new member_info($buyer_id);
|
|
|
$calc = new CalcMerchantPrice($mchid, $amount, $card_type,$quality);
|
|
|
$mch_amount = $calc->calc_vgoods_price([]);
|
|
|
- Log::record(__FUNCTION__ . " 2",Log::DEBUG);
|
|
|
|
|
|
$available = $minfo->available_predeposit();
|
|
|
if ($mch_amount > $available) {
|
|
@@ -234,7 +231,6 @@ class RefillBase
|
|
|
$refill_state = false;
|
|
|
$order_success = false;
|
|
|
|
|
|
- Log::record(__FUNCTION__ . " 3 providers count = " . count($providers),Log::DEBUG);
|
|
|
foreach ($providers as $provider)
|
|
|
{
|
|
|
$channel_name = $provider->name();
|