作者 刘锟

update

... ... @@ -236,6 +236,8 @@ class ProjectUpdate extends Command
if ($custom_types) {
$custom_model = new CustomModule();
foreach ($custom_types as $v_custom) {
$log = UpdateLog::where('project_id', $project_id)->where('api_type', $v_custom)->first();
if (empty($log)) {
try {
$custom_info = $custom_model->read(['route' => $v_custom]);
if (!$custom_info) {
... ... @@ -252,6 +254,7 @@ class ProjectUpdate extends Command
}
}
}
}
} else {
return true;
}
... ...