正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -334,7 +334,7 @@ class ReplaceHtml extends Command | @@ -334,7 +334,7 @@ class ReplaceHtml extends Command | ||
| 334 | } | 334 | } |
| 335 | if($is_list == BTemplate::IS_LIST){ | 335 | if($is_list == BTemplate::IS_LIST){ |
| 336 | $categoryModel = new CustomModuleCategory(); | 336 | $categoryModel = new CustomModuleCategory(); |
| 337 | - $cateInfo = $categoryModel->read(['id'=>$source_id],['id','name']); | 337 | + $cateInfo = $categoryModel->read(['id'=>$source_id],['id','name','route']); |
| 338 | if($cateInfo === false){ | 338 | if($cateInfo === false){ |
| 339 | return false; | 339 | return false; |
| 340 | } | 340 | } |
| @@ -342,7 +342,7 @@ class ReplaceHtml extends Command | @@ -342,7 +342,7 @@ class ReplaceHtml extends Command | ||
| 342 | $route = $cateInfo['route']; | 342 | $route = $cateInfo['route']; |
| 343 | }else{ | 343 | }else{ |
| 344 | $contentModel = new CustomModuleContent(); | 344 | $contentModel = new CustomModuleContent(); |
| 345 | - $contentInfo = $contentModel->read(['id'=>$source_id],['id','name']); | 345 | + $contentInfo = $contentModel->read(['id'=>$source_id],['id','name','route']); |
| 346 | if($contentInfo === false){ | 346 | if($contentInfo === false){ |
| 347 | return false; | 347 | return false; |
| 348 | } | 348 | } |
-
请 注册 或 登录 后发表评论