[ DB ] CONNECT:[ UseTime:0.000474s ] mysql:host=127.0.0.1;port=3306;dbname=nngw;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `cmf_plugin` [ RunTime:0.000804s ]
[ SQL ] SELECT `config` FROM `cmf_plugin` WHERE `name` = 'MPcTheme' LIMIT 1 [ RunTime:0.000311s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_plugin',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 8,
'filtered' => 12.5,
'extra' => 'Using where',
) ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.000781s ]
[ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = 1 AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = 1 AND `relation`.`post_id` = 153 AND ( `post`.`published_time` < 1616733775 and `post`.`published_time` > 0 ) LIMIT 1 [ RunTime:0.000728s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'post',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'PRIMARY,type_status_date',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
[ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = 1 AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = 1 AND `relation`.`post_id` < 153 AND ( `post`.`published_time` < 1616733775 and `post`.`published_time` > 0 ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001332s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'relation',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'term_taxonomy_id',
'key' => 'term_taxonomy_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 123,
'filtered' => 33.32999801635742,
'extra' => 'Using index condition; Using where; Using temporary; Using filesort',
) ]
[ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = 1 AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = 1 AND `relation`.`post_id` > 153 AND ( `post`.`published_time` < 1616733775 and `post`.`published_time` > 0 ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000710s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'relation',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'term_taxonomy_id',
'key' => 'term_taxonomy_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 123,
'filtered' => 33.32999801635742,
'extra' => 'Using index condition; Using where; Using temporary; Using filesort',
) ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.000616s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.000281s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
[ SQL ] UPDATE `cmf_portal_post` SET `post_hits` = `post_hits` + 1 WHERE `id` = 153 [ RunTime:0.003460s ]
[ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.000576s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'nngw' AND `file` = 'portal/case' LIMIT 1 [ RunTime:0.000302s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 24,
'filtered' => 4.1666669845581055,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'nngw' , `action` = 'portal/List/index' , `file` = 'portal/case' , `name` = '成功案例列表页' , `more` = '{\"vars\":{\"page_num\":{\"title\":\"\\u5206\\u9875\\u6570\\u91cf\",\"value\":\"15\",\"type\":\"text\",\"rule\":{\"require\":true}}}}' , `config_more` = '{\"vars\":{\"page_num\":{\"title\":\"\\u5206\\u9875\\u6570\\u91cf\",\"value\":\"15\",\"type\":\"text\",\"rule\":{\"require\":true}}}}' , `description` = '列表模板文件' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'nngw' AND `file` = 'portal/case' [ RunTime:0.002704s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'nngw' AND `file` = 'portal/cdetails' LIMIT 1 [ RunTime:0.000277s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 24,
'filtered' => 4.1666669845581055,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'nngw' , `action` = 'portal/Article/index' , `file` = 'portal/cdetails' , `name` = '成功案例详情页' , `more` = '{\"vars\":[],\"widgets\":[]}' , `config_more` = '{\"vars\":[],\"widgets\":[]}' , `description` = '详情页模板文件' , `is_public` = 0 , `list_order` = 11 WHERE `theme` = 'nngw' AND `file` = 'portal/cdetails' [ RunTime:0.002825s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'nngw' AND `file` = 'portal/contact' LIMIT 1 [ RunTime:0.000279s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 24,
'filtered' => 4.1666669845581055,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'nngw' , `action` = 'portal/Page/index' , `file` = 'portal/contact' , `name` = '联系我们页面' , `more` = '{\"widgets\":[]}' , `config_more` = '{\"widgets\":[]}' , `description` = '单页面模板文件' , `is_public` = 0 , `list_order` = 15 WHERE `theme` = 'nngw' AND `file` = 'portal/contact' [ RunTime:0.002670s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'nngw' AND `file` = 'portal/index' LIMIT 1 [ RunTime:0.000294s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 24,
'filtered' => 4.1666669845581055,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'nngw' , `action` = 'portal/Index/index' , `file` = 'portal/index' , `name` = '首页模板' , `more` = '{\"vars\":{\"top_slide\":{\"title\":\"\\u9876\\u90e8\\u5e7b\\u706f\\u7247\",\"value\":\"1\",\"type\":\"text\",\"dataSource\":{\"api\":\"admin\\/Slide\\/index\",\"multi\":false},\"placeholder\":\"\\u8bf7\\u9009\\u62e9\\u9876\\u90e8\\u5e7b\\u706f\\u7247\",\"tip\":\"\\u9876\\u90e8\\u5e7b\\u706f\\u7247\",\"rule\":{\"require\":true}}},\"widgets\":{\"case\":{\"title\":\"\\u6210\\u529f\\u6848\\u4f8b\",\"display\":0,\"vars\":{\"case_id\":{\"title\":\"\\u8bf7\\u9009\\u62e9\\u5206\\u7c7b\",\"value\":\"1\",\"type\":\"text\",\"dataSource\":{\"api\":\"portal\\/Category\\/index\",\"multi\":false},\"placeholder\":\"\\u8bf7\\u9009\\u62e9\\u9875\\u9762\",\"tip\":\"\",\"rule\":{\"require\":true},\"valueText\":\"\\u6210\\u529f\\u6848\\u4f8b\"},\"case_num\":{\"title\":\"\\u663e\\u793a\\u6570\\u91cf\",\"value\":\"2\",\"type\":\"text\"}}},\"news\":{\"title\":\"\\u65b0\\u95fb\\u8d44\\u8baf\",\"display\":1,\"vars\":{\"news_id\":{\"title\":\"\\u8bf7\\u9009\\u62e9\\u5206\\u7c7b\",\"value\":\"2\",\"type\":\"text\",\"dataSource\":{\"api\":\"portal\\/Category\\/index\",\"multi\":false},\"placeholder\":\"\\u8bf7\\u9009\\u62e9\\u9875\\u9762\",\"tip\":\"\",\"rule\":{\"require\":true},\"valueText\":\"\\u65b0\\u95fb\\u8d44\\u8baf\"},\"news_num\":{\"title\":\"\\u663e\\u793a\\u6570\\u91cf\",\"value\":\"4\",\"type\":\"text\"}}},\"case2\":{\"title\":\"\\u6210\\u529f\\u6848\\u4f8b2\",\"display\":1,\"vars\":{\"case2_id\":{\"title\":\"\\u8bf7\\u9009\\u62e9\\u5206\\u7c7b\",\"value\":\"1\",\"type\":\"text\",\"dataSource\":{\"api\":\"portal\\/Category\\/index\",\"multi\":false},\"placeholder\":\"\\u8bf7\\u9009\\u62e9\\u9875\\u9762\",\"tip\":\"\",\"rule\":{\"require\":true},\"valueText\":\"\\u6210\\u529f\\u6848\\u4f8b\"},\"case2_num\":{\"title\":\"\\u663e\\u793a\\u6570\\u91cf\",\"value\":\"9\",\"type\":\"text\"}}}}}' , `config_more` = '{\"vars\":{\"top_slide\":{\"title\":\"\\u9876\\u90e8\\u5e7b\\u706f\\u7247\",\"value\":\"1\",\"type\":\"text\",\"dataSource\":{\"api\":\"admin\\/Slide\\/index\",\"multi\":false},\"placeholder\":\"\\u8bf7\\u9009\\u62e9\\u9876\\u90e8\\u5e7b\\u706f\\u7247\",\"tip\":\"\\u9876\\u90e8\\u5e7b\\u706f\\u7247\",\"rule\":{\"require\":true}}},\"widgets\":{\"case\":{\"title\":\"\\u6210\\u529f\\u6848\\u4f8b\",\"display\":\"1\",\"vars\":{\"case_id\":{\"title\":\"\\u8bf7\\u9009\\u62e9\\u5206\\u7c7b\",\"value\":\"\",\"type\":\"text\",\"dataSource\":{\"api\":\"portal\\/Category\\/index\",\"multi\":false},\"placeholder\":\"\\u8bf7\\u9009\\u62e9\\u9875\\u9762\",\"tip\":\"\",\"rule\":{\"require\":true}},\"case_num\":{\"title\":\"\\u663e\\u793a\\u6570\\u91cf\",\"value\":\"2\",\"type\":\"text\"}}},\"news\":{\"title\":\"\\u65b0\\u95fb\\u8d44\\u8baf\",\"display\":\"1\",\"vars\":{\"news_id\":{\"title\":\"\\u8bf7\\u9009\\u62e9\\u5206\\u7c7b\",\"value\":\"\",\"type\":\"text\",\"dataSource\":{\"api\":\"portal\\/Category\\/index\",\"multi\":false},\"placeholder\":\"\\u8bf7\\u9009\\u62e9\\u9875\\u9762\",\"tip\":\"\",\"rule\":{\"require\":true}},\"news_num\":{\"title\":\"\\u663e\\u793a\\u6570\\u91cf\",\"value\":\"4\",\"type\":\"text\"}}},\"case2\":{\"title\":\"\\u6210\\u529f\\u6848\\u4f8b2\",\"display\":\"1\",\"vars\":{\"case2_id\":{\"title\":\"\\u8bf7\\u9009\\u62e9\\u5206\\u7c7b\",\"value\":\"\",\"type\":\"text\",\"dataSource\":{\"api\":\"portal\\/Category\\/index\",\"multi\":false},\"placeholder\":\"\\u8bf7\\u9009\\u62e9\\u9875\\u9762\",\"tip\":\"\",\"rule\":{\"require\":true}},\"case2_num\":{\"title\":\"\\u663e\\u793a\\u6570\\u91cf\",\"value\":\"9\",\"type\":\"text\"}}}}}' , `description` = '首页模板文件' , `is_public` = 0 , `list_order` = 5 WHERE `theme` = 'nngw' AND `file` = 'portal/index' [ RunTime:0.002926s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'nngw' AND `file` = 'portal/ndetails' LIMIT 1 [ RunTime:0.000281s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 24,
'filtered' => 4.1666669845581055,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'nngw' , `action` = 'portal/Article/index' , `file` = 'portal/ndetails' , `name` = '新闻详情页' , `more` = '{\"vars\":[],\"widgets\":[]}' , `config_more` = '{\"vars\":[],\"widgets\":[]}' , `description` = '文章页模板文件' , `is_public` = 0 , `list_order` = 11 WHERE `theme` = 'nngw' AND `file` = 'portal/ndetails' [ RunTime:0.002764s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'nngw' AND `file` = 'portal/news' LIMIT 1 [ RunTime:0.000285s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 24,
'filtered' => 4.1666669845581055,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'nngw' , `action` = 'portal/List/index' , `file` = 'portal/news' , `name` = '新闻资讯列表页' , `more` = '{\"vars\":{\"page_num\":{\"title\":\"\\u5206\\u9875\\u6570\\u91cf\",\"value\":\"15\",\"type\":\"text\",\"rule\":{\"require\":true}}}}' , `config_more` = '{\"vars\":{\"page_num\":{\"title\":\"\\u5206\\u9875\\u6570\\u91cf\",\"value\":\"15\",\"type\":\"text\",\"rule\":{\"require\":true}}}}' , `description` = '文章列表模板文件' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'nngw' AND `file` = 'portal/news' [ RunTime:0.002707s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'nngw' AND `file` = 'public/config' LIMIT 1 [ RunTime:0.000288s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 24,
'filtered' => 4.1666669845581055,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'nngw' , `action` = 'public/Config' , `file` = 'public/config' , `name` = '模板全局配置' , `more` = '{\"vars\":{\"enable_mobile\":{\"title\":\"\\u624b\\u673a\\u6ce8\\u518c\",\"type\":\"select\",\"value\":1,\"options\":{\"1\":\"\\u5f00\\u542f\",\"0\":\"\\u5173\\u95ed\"},\"tip\":\"\"}},\"widgets\":[]}' , `config_more` = '{\"vars\":{\"enable_mobile\":{\"title\":\"\\u624b\\u673a\\u6ce8\\u518c\",\"type\":\"select\",\"value\":1,\"options\":{\"1\":\"\\u5f00\\u542f\",\"0\":\"\\u5173\\u95ed\"},\"tip\":\"\"}},\"widgets\":[]}' , `description` = '模板全局配置文件' , `is_public` = 1 , `list_order` = 0 WHERE `theme` = 'nngw' AND `file` = 'public/config' [ RunTime:0.003048s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'nngw' AND `file` = 'public/header' LIMIT 1 [ RunTime:0.000275s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 24,
'filtered' => 4.1666669845581055,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'nngw' , `action` = 'public/Nav' , `file` = 'public/header' , `name` = '头部导航条' , `more` = '{\"vars\":[]}' , `config_more` = '{\"vars\":[]}' , `description` = '导航条模板文件' , `is_public` = 1 , `list_order` = 1 WHERE `theme` = 'nngw' AND `file` = 'public/header' [ RunTime:0.002717s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'nngw' [ RunTime:0.000306s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 24,
'filtered' => 10.0,
'extra' => 'Using where',
) ]
[ SQL ] SHOW COLUMNS FROM `cmf_theme` [ RunTime:0.000575s ]
[ SQL ] UPDATE `cmf_theme` SET `name` = 'nngw' , `version` = '1.0.2' , `demo_url` = 'http://nngw.com' , `author` = 'qiu' , `lang` = 'zh-cn' , `author_url` = 'http://www.thinkcmf.com' , `keywords` = '南宁官网电脑端' , `description` = '南宁官网默认模板' WHERE `theme` = 'nngw' [ RunTime:0.000263s ]
[ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'nngw' AND ( `is_public` = 1 OR `file` = 'portal/cdetails' ) [ RunTime:0.000288s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 24,
'filtered' => 4.1666669845581055,
'extra' => 'Using where',
) ]
[ SQL ] SHOW COLUMNS FROM `cmf_nav_menu` [ RunTime:0.000622s ]
[ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000304s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_nav_menu',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => 'nav_id',
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 4,
'filtered' => 25.0,
'extra' => 'Using where; Using filesort',
) ]
[ SQL ] SELECT `path` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000208s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` IN (0,1) ORDER BY `path` ASC [ RunTime:0.000297s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'partitions' => NULL,
'type' => 'range',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => NULL,
'rows' => 2,
'filtered' => 100.0,
'extra' => 'Using where; Using filesort',
) ]
[ SQL ] SHOW COLUMNS FROM `cmf_link` [ RunTime:0.000586s ]
[ SQL ] SELECT * FROM `cmf_link` WHERE `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000258s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_link',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'status',
'key' => 'status',
'key_len' => '1',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => 'Using index condition; Using filesort',
) ]