Browse Source

修复数据脚本

tgz 2 years ago
parent
commit
5740b106cd
1 changed files with 4 additions and 0 deletions
  1. 4 0
      app/command/FixTrackLog.php

+ 4 - 0
app/command/FixTrackLog.php

@@ -48,6 +48,10 @@ class FixTrackLog extends Command
             if (!is_array($params)) {
                 $output->writeln('不是json:'.$params);
             }
+            $res = TrackService::confirm($params);
+            if (!$res) {
+                continue;
+            }
             TrackService::push($params,1);
         }
         return 1;