|
|
|
@ -1107,17 +1107,30 @@ class AutoPackController extends Think
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$needDelUrls = array_unique(array_merge($needDelUrls, array_diff($urls, $packUrls)));
|
|
|
|
|
echo 'needDel1: ' . count($needDelUrls);
|
|
|
|
|
echo PHP_EOL;
|
|
|
|
|
|
|
|
|
|
$diffUrls = array_diff($urls, $packUrls);
|
|
|
|
|
echo 'diffUrls: ' . count($diffUrls);
|
|
|
|
|
echo PHP_EOL;
|
|
|
|
|
|
|
|
|
|
$needDelUrls = array_unique(array_merge($needDelUrls, $diffUrls));
|
|
|
|
|
|
|
|
|
|
echo 'needDel2: ' . count($needDelUrls);
|
|
|
|
|
echo PHP_EOL;
|
|
|
|
|
|
|
|
|
|
$count += count($needDelUrls);
|
|
|
|
|
|
|
|
|
|
if (empty($list->getNextMarker())) {
|
|
|
|
|
break;
|
|
|
|
|
} else {
|
|
|
|
|
$marker = $list->getNextMarker();
|
|
|
|
|
echo 'next: ' . $marker;
|
|
|
|
|
echo PHP_EOL;
|
|
|
|
|
}
|
|
|
|
|
} while (true);
|
|
|
|
|
|
|
|
|
|
echo $count;
|
|
|
|
|
echo 'total:' . $count;
|
|
|
|
|
echo PHP_EOL;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|