shish il y a 2 ans
Parent
commit
046a1a5837
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      console/controllers/MqController.php

+ 1 - 0
console/controllers/MqController.php

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