|
@@ -93,9 +93,9 @@ function subscribe_message(&$quit, &$redis, $channels)
|
|
}
|
|
}
|
|
elseif($type == 'mch_counts') {
|
|
elseif($type == 'mch_counts') {
|
|
$ins = Cache::getInstance('cacheredis');
|
|
$ins = Cache::getInstance('cacheredis');
|
|
- $val = $ins->get_org('merchant_refill_counts');
|
|
|
|
|
|
+ $content = $ins->get_org('merchant_refill_counts');
|
|
|
|
|
|
- if(empty($val)) continue;
|
|
|
|
|
|
+ if(empty($content)) continue;
|
|
$counts = json_decode($content,true);
|
|
$counts = json_decode($content,true);
|
|
if(empty($counts)) continue;
|
|
if(empty($counts)) continue;
|
|
|
|
|