|
...
|
...
|
@@ -478,7 +478,7 @@ class ProjectUpdate extends Command |
|
|
|
return $task_id;
|
|
|
|
}
|
|
|
|
|
|
|
|
$task_list = UpdateLog::where('project_id', 528)->where('status', UpdateLog::STATUS_UN)->orderBy('project_id', 'asc')->orderBy('sort', 'asc')->limit(8)->get();
|
|
|
|
$task_list = UpdateLog::where('project_id', 543)->where('status', UpdateLog::STATUS_UN)->orderBy('project_id', 'asc')->orderBy('sort', 'asc')->limit(8)->get();
|
|
|
|
if ($task_list->count() == 0) {
|
|
|
|
return false;
|
|
|
|
}
|
|
...
|
...
|
@@ -506,7 +506,7 @@ class ProjectUpdate extends Command |
|
|
|
|
|
|
|
$path_arr = explode('/', $path);
|
|
|
|
|
|
|
|
return end($path_arr) ? generateRoute(end($path_arr)) : generateRoute($path_arr[count($path_arr) - 2]);
|
|
|
|
return end($path_arr) ? end($path_arr) : $path_arr[count($path_arr) - 2];
|
|
|
|
}
|
|
|
|
|
|
|
|
//产品多级分类入库
|
...
|
...
|
|