stanley-king 1 vuosi sitten
vanhempi
commit
1ec2049bf9
2 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 1 1
      helper/rbridge/gy/Bridge.php
  2. 2 0
      helper/refill/policy/xyz/policy.php

+ 1 - 1
helper/rbridge/gy/Bridge.php

@@ -234,7 +234,7 @@ class Bridge implements IBridge, IBridgeEx
         $money = ncPriceFormat($available - $mchinfo['credit_bonus']);
         $params['money'] = $money;
 
-        return [false, $this->result_format($params, $out_names, $secure_key)];
+        return [true, $this->result_format($params, $out_names, $secure_key)];
     }
 
     public function notify($params)

+ 2 - 0
helper/refill/policy/xyz/policy.php

@@ -433,6 +433,8 @@ class policy extends ProviderManager implements IPolicy
                 $names = array_intersect($names, $channels);
             }
 
+            Log::record(implode(',',$names),Log::DEBUG);
+            
             $names = $this->mChannelControl->match($names, $spec, $card_type, $quality, $max_inprice);
             if (!empty($names)) {
                 return [$org_quality, $quality];