zhaozhen 2 anos atrás
pai
commit
5a234c543b
1 arquivos alterados com 5 adições e 4 exclusões
  1. 5 4
      app/Console/Commands/Test.php

+ 5 - 4
app/Console/Commands/Test.php

@@ -687,6 +687,7 @@ class Test extends Command
687 687
     {
688 688
         foreach ($listGenerator as $list) {
689 689
             foreach ($list as $item) {
690
+                echo 'id:'.$item->id.PHP_EOL;
690 691
                 $dataJson = $item->attachments;
691 692
                 if (empty($dataJson)) continue;
692 693
 
@@ -827,10 +828,10 @@ class Test extends Command
827 828
                 }
828 829
             }
829 830
 
830
-            if (count($drawPids) > 1) {
831
-                Log::logError('提取推广链接PID存在多个值', $datum, $logName);
832
-                return false;
833
-            }
831
+//            if (count($drawPids) > 1) {
832
+//                Log::logError('提取推广链接PID存在多个值', $datum, $logName);
833
+//                return false;
834
+//            }
834 835
 
835 836
             if (!empty($drawPids)) $pid = json_encode(array_filter($drawPids));
836 837