合并分支 'akun' 到 'master'
Akun 查看合并请求 !134
正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -561,12 +561,14 @@ class ProjectUpdate extends Command | @@ -561,12 +561,14 @@ class ProjectUpdate extends Command | ||
| 561 | 'pid' => $pid, | 561 | 'pid' => $pid, |
| 562 | 'original_id' => $item['id'] | 562 | 'original_id' => $item['id'] |
| 563 | ]); | 563 | ]); |
| 564 | + $this->set_map($this->get_url_route($item['url'] ?? ''), RouteMap::SOURCE_NEWS_CATE, $parent_id, $project_id); | ||
| 564 | } catch (\Exception $e) { | 565 | } catch (\Exception $e) { |
| 565 | echo 'date:' . date('Y-m-d H:i:s') . ', category_news_insert error: ' . $e->getMessage() . PHP_EOL; | 566 | echo 'date:' . date('Y-m-d H:i:s') . ', category_news_insert error: ' . $e->getMessage() . PHP_EOL; |
| 566 | continue; | 567 | continue; |
| 567 | } | 568 | } |
| 568 | } else { | 569 | } else { |
| 569 | $parent_id = $parent['id']; | 570 | $parent_id = $parent['id']; |
| 571 | + $this->set_map($this->get_url_route($item['url'] ?? ''), RouteMap::SOURCE_NEWS_CATE, $parent_id, $project_id); | ||
| 570 | } | 572 | } |
| 571 | 573 | ||
| 572 | if (!empty($item['children'])) { | 574 | if (!empty($item['children'])) { |
-
请 注册 或 登录 后发表评论