shish пре 2 година
родитељ
комит
4b75e45e9a
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      console/controllers/MqController.php

+ 1 - 0
console/controllers/MqController.php

@@ -19,6 +19,7 @@ class MqController extends Controller
         $noticeKey = "bookChangeOffItem";
         while ($count = Yii::$app->redis->executeCommand('LLEN', [$noticeKey])) {
             $json = Yii::$app->redis->executeCommand('RPOP', [$noticeKey]);
+            echo $json;die;
             if (!empty($json)) {
                 $arr = json_decode($json, true);
                 $id = $arr['id'] ?? 0;