|
...
|
...
|
@@ -32,7 +32,7 @@ class ProjectReset extends Command |
|
|
|
if ($project) {
|
|
|
|
try {
|
|
|
|
DB::connection('custom_mysql')->statement("DELETE FROM `gl_collect_source` WHERE `origin` LIKE '%.css%' OR `origin` LIKE '%.js%'");
|
|
|
|
DB::connection('custom_mysql')->statement("UPDATE `gl_collect_task` SET `status` = 0");
|
|
|
|
DB::connection('custom_mysql')->statement("UPDATE `gl_collect_task` SET `status` = 0 WHERE `language` = ''");
|
|
|
|
} catch (\Exception $e) {
|
|
|
|
echo $project_id . ',重置失败' . PHP_EOL;
|
|
|
|
}
|
...
|
...
|
|