stanley-king 3 년 전
부모
커밋
31d58a33fd
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      rdispatcher/codispatcher.php

+ 2 - 2
rdispatcher/codispatcher.php

@@ -93,9 +93,9 @@ function subscribe_message(&$quit, &$redis, $channels)
                     }
                     elseif($type == 'mch_counts') {
                         $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);
                         if(empty($counts)) continue;