|
@@ -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}");
|