正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -71,7 +71,7 @@ class lyhDemo extends Command | @@ -71,7 +71,7 @@ class lyhDemo extends Command | ||
| 71 | $count = $categoryModel->counts(['id'=>['>',0]]); | 71 | $count = $categoryModel->counts(['id'=>['>',0]]); |
| 72 | if(($info === false) && ($count > 0)){ | 72 | if(($info === false) && ($count > 0)){ |
| 73 | $mainModel = new TemplateTypeMain(); | 73 | $mainModel = new TemplateTypeMain(); |
| 74 | - $mainInfo = $mainModel->read(['type'=>2,'is_list'=>1,'is_custom'=>0]); | 74 | + $mainInfo = $mainModel->read(['type'=>2,'is_list'=>1]); |
| 75 | $main_html = $mainInfo['main_html']; | 75 | $main_html = $mainInfo['main_html']; |
| 76 | $main_css = "<style id='globalsojs-styles'></style>"; | 76 | $main_css = "<style id='globalsojs-styles'></style>"; |
| 77 | //写入一条初始数据 | 77 | //写入一条初始数据 |
-
请 注册 或 登录 后发表评论