正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -141,7 +141,7 @@ class LyhImportTest extends Command | @@ -141,7 +141,7 @@ class LyhImportTest extends Command | ||
| 141 | $newsModel->del(['id'=>$v['id']]); | 141 | $newsModel->del(['id'=>$v['id']]); |
| 142 | $customContentModel = new CustomModuleContent(); | 142 | $customContentModel = new CustomModuleContent(); |
| 143 | $id = $customContentModel->addReturnId($param); | 143 | $id = $customContentModel->addReturnId($param); |
| 144 | - $route = RouteMap::setRoute($v['route'],RouteMap::SOURCE_MODULE,$id,$project_id); | 144 | + $route = RouteMap::setRoute($param['route'],RouteMap::SOURCE_MODULE,$id,$project_id); |
| 145 | $customContentModel->edit(['route'=>$route],['id'=>$id]); | 145 | $customContentModel->edit(['route'=>$route],['id'=>$id]); |
| 146 | } | 146 | } |
| 147 | return true; | 147 | return true; |
-
请 注册 或 登录 后发表评论