Browse Source

test-update

zhaozhen 1 year ago
parent
commit
5a234c543b
1 changed files with 5 additions and 4 deletions
  1. 5 4
      app/Console/Commands/Test.php

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

687
     {
687
     {
688
         foreach ($listGenerator as $list) {
688
         foreach ($listGenerator as $list) {
689
             foreach ($list as $item) {
689
             foreach ($list as $item) {
690
+                echo 'id:'.$item->id.PHP_EOL;
690
                 $dataJson = $item->attachments;
691
                 $dataJson = $item->attachments;
691
                 if (empty($dataJson)) continue;
692
                 if (empty($dataJson)) continue;
692
 
693
 
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
             if (!empty($drawPids)) $pid = json_encode(array_filter($drawPids));
836
             if (!empty($drawPids)) $pid = json_encode(array_filter($drawPids));
836
 
837