|
|
|
@ -1097,14 +1097,12 @@ class AutoPackController extends Think
|
|
|
|
|
}
|
|
|
|
|
$urlsStr = implode(",", $queryUrls);
|
|
|
|
|
|
|
|
|
|
$rows = M("apply", 'tab_')->field('pack_url, game_id')->where("pack_url in ({$urlsStr})")->find();
|
|
|
|
|
$rows = M("apply", 'tab_')->field('pack_url, game_id')->where("pack_url in ({$urlsStr})")->select();
|
|
|
|
|
$packUrls = [];
|
|
|
|
|
$needDelUrls = [];
|
|
|
|
|
var_dump($rows);
|
|
|
|
|
foreach ($rows as $row) {
|
|
|
|
|
$packUrls[] = $row['pack_url'];
|
|
|
|
|
if (!in_array($row['game_id'], [282, 283, 277, 273])) {
|
|
|
|
|
var_dump($row);
|
|
|
|
|
$needDelUrls[] = $row['pack_url'];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|