正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -478,7 +478,7 @@ class ProjectUpdate extends Command | @@ -478,7 +478,7 @@ class ProjectUpdate extends Command | ||
| 478 | return $task_id; | 478 | return $task_id; |
| 479 | } | 479 | } |
| 480 | 480 | ||
| 481 | - $task_list = UpdateLog::where('project_id', 528)->where('status', UpdateLog::STATUS_UN)->orderBy('project_id', 'asc')->orderBy('sort', 'asc')->limit(8)->get(); | 481 | + $task_list = UpdateLog::where('project_id', 543)->where('status', UpdateLog::STATUS_UN)->orderBy('project_id', 'asc')->orderBy('sort', 'asc')->limit(8)->get(); |
| 482 | if ($task_list->count() == 0) { | 482 | if ($task_list->count() == 0) { |
| 483 | return false; | 483 | return false; |
| 484 | } | 484 | } |
| @@ -506,7 +506,7 @@ class ProjectUpdate extends Command | @@ -506,7 +506,7 @@ class ProjectUpdate extends Command | ||
| 506 | 506 | ||
| 507 | $path_arr = explode('/', $path); | 507 | $path_arr = explode('/', $path); |
| 508 | 508 | ||
| 509 | - return end($path_arr) ? generateRoute(end($path_arr)) : generateRoute($path_arr[count($path_arr) - 2]); | 509 | + return end($path_arr) ? end($path_arr) : $path_arr[count($path_arr) - 2]; |
| 510 | } | 510 | } |
| 511 | 511 | ||
| 512 | //产品多级分类入库 | 512 | //产品多级分类入库 |
-
请 注册 或 登录 后发表评论