|
...
|
...
|
@@ -71,7 +71,7 @@ class lyhDemo extends Command |
|
|
|
$count = $categoryModel->counts(['id'=>['>',0]]);
|
|
|
|
if(($info === false) && ($count > 0)){
|
|
|
|
$mainModel = new TemplateTypeMain();
|
|
|
|
$mainInfo = $mainModel->read(['type'=>2,'is_list'=>1,'is_custom'=>0]);
|
|
|
|
$mainInfo = $mainModel->read(['type'=>2,'is_list'=>1]);
|
|
|
|
$main_html = $mainInfo['main_html'];
|
|
|
|
$main_css = "<style id='globalsojs-styles'></style>";
|
|
|
|
//写入一条初始数据
|
...
|
...
|
|