[ DB ] CONNECT:[ UseTime:0.000363s ] mysql:host=127.0.0.1;port=3306;dbname=cmf;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.000801s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 8 AND `status` = 1 LIMIT 1 [ RunTime:0.000260s ]
[ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.000739s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'web0311' AND `file` = 'public/config' LIMIT 1 [ RunTime:0.000236s ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme`='web0311',`action`='public/Config',`file`='public/config',`name`='模板全局配置',`more`='{\"vars\":{\"enable_mobile\":{\"title\":\"\\u624b\\u673a\\u6ce8\\u518c\",\"value\":1,\"type\":\"select\",\"options\":{\"1\":\"\\u5f00\\u542f\",\"0\":\"\\u5173\\u95ed\"},\"tip\":\"\"}}}',`config_more`='{\"vars\":{\"enable_mobile\":{\"title\":\"\\u624b\\u673a\\u6ce8\\u518c\",\"value\":1,\"type\":\"select\",\"options\":{\"1\":\"\\u5f00\\u542f\",\"0\":\"\\u5173\\u95ed\"},\"tip\":\"\"}}}',`description`='模板全局配置文件',`is_public`=1,`list_order`=0 WHERE `theme` = 'web0311' AND `file` = 'public/config' [ RunTime:0.014280s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'web0311' AND `file` = 'public/nav' LIMIT 1 [ RunTime:0.000343s ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme`='web0311',`action`='public/Nav',`file`='public/nav',`name`='导航条',`more`='{\"vars\":{\"company_name\":{\"title\":\"\\u516c\\u53f8\\u540d\\u79f0\",\"name\":\"company_name\",\"value\":\"ThinkCMF\",\"type\":\"text\",\"tip\":\"\",\"rule\":[]}}}',`config_more`='{\"vars\":{\"company_name\":{\"title\":\"\\u516c\\u53f8\\u540d\\u79f0\",\"name\":\"company_name\",\"value\":\"ThinkCMF\",\"type\":\"text\",\"tip\":\"\",\"rule\":[]}}}',`description`='导航条模板文件',`is_public`=1,`list_order`=1 WHERE `theme` = 'web0311' AND `file` = 'public/nav' [ RunTime:0.012572s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'web0311' [ RunTime:0.000268s ]
[ SQL ] SHOW COLUMNS FROM `cmf_theme` [ RunTime:0.000745s ]
[ SQL ] UPDATE `cmf_theme` SET `name`='web0311',`version`='1.0.0',`demo_url`='',`author`='web0311',`lang`='zh-cn',`author_url`='http://www.',`keywords`='web0311模板',`description`='web0311默认模板' WHERE `theme` = 'web0311' [ RunTime:0.013624s ]
[ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'web0311' AND ( `is_public` = 1 OR `file` = 'portal/list' ) [ RunTime:0.000293s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.000953s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE ( `post`.`published_time` > '0' AND `post`.`published_time` < 1548254797 ) AND `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND `category_post`.`category_id` = '8' AND `post`.`create_time` >= 0 GROUP BY `post`.`id` ) `_group_count_` LIMIT 1 [ RunTime:0.000638s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE ( `post`.`published_time` > '0' AND `post`.`published_time` < 1548254797 ) AND `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND `category_post`.`category_id` = '8' AND `post`.`create_time` >= 0 GROUP BY `post`.`id` ORDER BY `post`.`create_time` DESC LIMIT 0,10 [ RunTime:0.000652s ]
[ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.000545s ]
[ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000166s ]
[ SQL ] SHOW COLUMNS FROM `cmf_link` [ RunTime:0.000583s ]
[ SQL ] SELECT * FROM `cmf_link` WHERE `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000181s ]