作者 ZhengBing He

yutu

... ... @@ -260,7 +260,13 @@ class FetchTicketProjects extends Command
$seom_id = 0;
// 第一负责人
$engineer_id = $assm_id;
$is_del = 0;
if ($project_cate == 3)
$is_del = !empty($item["go_online"]);
else{
// 域途,以服务时间为准 $item['yutu_service_start_time'] 是开始时间 + 有效天数 yutu_planday
$is_del = !empty($item['yutu_service_start_time']) && !empty($item['yutu_planday'])
&& (strtotime($item['yutu_service_start_time']) + $item['yutu_planday'] * 86400) < time();
}
$fields = [
'company_name' => $item['company'],
... ...