正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -75,13 +75,13 @@ class UpdateMainHtml extends Command | @@ -75,13 +75,13 @@ class UpdateMainHtml extends Command | ||
| 75 | */ | 75 | */ |
| 76 | public function editMainHtml($project_id){ | 76 | public function editMainHtml($project_id){ |
| 77 | $templateModel = new BTemplate(); | 77 | $templateModel = new BTemplate(); |
| 78 | - $info = $templateModel->read(['source'=>2,'source_id'=>0]); | 78 | + $info = $templateModel->read(['source'=>3,'source_id'=>0]); |
| 79 | if($info !== false){ | 79 | if($info !== false){ |
| 80 | $mainModel = new BTemplateMain(); | 80 | $mainModel = new BTemplateMain(); |
| 81 | - $mainInfo = $mainModel->read(['type'=>2,'is_list'=>1]); | 81 | + $mainInfo = $mainModel->read(['type'=>3,'is_list'=>1]); |
| 82 | if($mainInfo === false){ | 82 | if($mainInfo === false){ |
| 83 | $data = [ | 83 | $data = [ |
| 84 | - 'type'=>2, | 84 | + 'type'=>3, |
| 85 | 'is_list'=>1, | 85 | 'is_list'=>1, |
| 86 | 'main_html'=>$info['main_html'], | 86 | 'main_html'=>$info['main_html'], |
| 87 | 'main_css'=>$info['main_css'], | 87 | 'main_css'=>$info['main_css'], |
-
请 注册 或 登录 后发表评论