stanley-king %!s(int64=3) %!d(string=hai) anos
pai
achega
7b44ea0c6f
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      crontab/control/minutes.php

+ 3 - 2
crontab/control/minutes.php

@@ -54,9 +54,10 @@ class minutesControl extends BaseCronControl
             } elseif ($provider_info['type'] == 2 || $provider_info['type'] == 3) {
                 $type = 'RefillPhone';
             } else {
-                return 'RefillPhone';
+                $type = 'RefillPhone';
             }
-
+            
+            Log::record("query balance channel_name:{$channel_name}");
             $provider = refill\util::getProvider($channel_name,$type);
             [$state, $balance] = $provider->balance();
             Log::record("query balance channel_name:{$channel_name}, err_msg:{$balance}");