[ DB ] CONNECT:[ UseTime:0.000323s ] mysql:host=127.0.0.1;port=3306;dbname=wz010cc;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `ld_portal_post` [ RunTime:0.000925s ]
[ SQL ] SELECT `post`.* FROM `ld_portal_post` `post` WHERE `post`.`post_type` = 1 AND ( `post`.`published_time` < '1614895285' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `post`.`id` = '8' LIMIT 1 [ RunTime:0.000523s ]
[ SQL ] SELECT `post`.* FROM `ld_portal_post` `post` WHERE `post`.`post_type` = 1 AND ( `post`.`published_time` < '1614895285' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `post`.`id` < '8' ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000447s ]
[ SQL ] SELECT `post`.* FROM `ld_portal_post` `post` WHERE `post`.`post_type` = 1 AND ( `post`.`published_time` < '1614895285' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `post`.`id` > '8' ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000393s ]
[ SQL ] SHOW COLUMNS FROM `ld_portal_category_post` [ RunTime:0.000641s ]
[ SQL ] SHOW COLUMNS FROM `ld_portal_category` [ RunTime:0.000564s ]
[ SQL ] SELECT `ld_portal_category`.*,pivot.id AS pivot__id,pivot.post_id AS pivot__post_id,pivot.category_id AS pivot__category_id,pivot.list_order AS pivot__list_order,pivot.status AS pivot__status FROM `ld_portal_category` INNER JOIN `ld_portal_category_post` `pivot` ON `pivot`.`category_id`=`ld_portal_category`.`id` WHERE `pivot`.`post_id` = 8 [ RunTime:0.000426s ]
[ SQL ] UPDATE `ld_portal_post` SET `post_hits`=`post_hits`+1 WHERE `id` = 8 [ RunTime:0.005772s ]
[ SQL ] SHOW COLUMNS FROM `ld_theme_file` [ RunTime:0.000841s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.000252s ]
[ SQL ] UPDATE `ld_theme_file` SET `theme`='index',`action`='portal/Article/index',`file`='portal/article',`name`='新闻文章页',`more`='[]',`config_more`='[]',`description`='文章页模板文件',`is_public`=0,`list_order`=10 WHERE `theme` = 'index' AND `file` = 'portal/article' [ RunTime:0.004896s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/article_news' LIMIT 1 [ RunTime:0.000300s ]
[ SQL ] UPDATE `ld_theme_file` SET `theme`='index',`action`='portal/Article/index',`file`='portal/article_news',`name`='新闻文章页',`more`='[]',`config_more`='[]',`description`='文章页模板文件',`is_public`=0,`list_order`=10 WHERE `theme` = 'index' AND `file` = 'portal/article_news' [ RunTime:0.009597s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list' LIMIT 1 [ RunTime:0.000356s ]
[ SQL ] UPDATE `ld_theme_file` SET `theme`='index',`action`='portal/List/index',`file`='portal/list',`name`='网站建设开发页',`more`='{\"vars\":[],\"widgets\":[]}',`config_more`='{\"vars\":[],\"widgets\":[]}',`description`='网站建设模板文件',`is_public`=0,`list_order`=10 WHERE `theme` = 'index' AND `file` = 'portal/list' [ RunTime:0.004003s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_about' LIMIT 1 [ RunTime:0.000224s ]
[ SQL ] UPDATE `ld_theme_file` SET `theme`='index',`action`='portal/List/index',`file`='portal/list_about',`name`='关于页',`more`='{\"vars\":[],\"widgets\":[]}',`config_more`='{\"vars\":[],\"widgets\":[]}',`description`='关于模板文件',`is_public`=0,`list_order`=10 WHERE `theme` = 'index' AND `file` = 'portal/list_about' [ RunTime:0.004072s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_app' LIMIT 1 [ RunTime:0.000245s ]
[ SQL ] UPDATE `ld_theme_file` SET `theme`='index',`action`='portal/List/index',`file`='portal/list_app',`name`='App开发页',`more`='{\"vars\":[],\"widgets\":[]}',`config_more`='{\"vars\":[],\"widgets\":[]}',`description`='App开发模板文件',`is_public`=0,`list_order`=10 WHERE `theme` = 'index' AND `file` = 'portal/list_app' [ RunTime:0.003877s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_case' LIMIT 1 [ RunTime:0.000275s ]
[ SQL ] UPDATE `ld_theme_file` SET `theme`='index',`action`='portal/List/index',`file`='portal/list_case',`name`='案例页',`more`='{\"vars\":[],\"widgets\":[]}',`config_more`='{\"vars\":[],\"widgets\":[]}',`description`='案例模板文件',`is_public`=0,`list_order`=10 WHERE `theme` = 'index' AND `file` = 'portal/list_case' [ RunTime:0.006050s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_news' LIMIT 1 [ RunTime:0.000407s ]
[ SQL ] UPDATE `ld_theme_file` SET `theme`='index',`action`='portal/List/index',`file`='portal/list_news',`name`='新闻资讯页',`more`='{\"vars\":[],\"widgets\":[]}',`config_more`='{\"vars\":[],\"widgets\":[]}',`description`='新闻资讯文件',`is_public`=0,`list_order`=10 WHERE `theme` = 'index' AND `file` = 'portal/list_news' [ RunTime:0.006695s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_service' LIMIT 1 [ RunTime:0.000293s ]
[ SQL ] UPDATE `ld_theme_file` SET `theme`='index',`action`='portal/List/index',`file`='portal/list_service',`name`='服务页',`more`='{\"vars\":[],\"widgets\":[]}',`config_more`='{\"vars\":[],\"widgets\":[]}',`description`='服务模板文件',`is_public`=0,`list_order`=10 WHERE `theme` = 'index' AND `file` = 'portal/list_service' [ RunTime:0.005382s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_solu' LIMIT 1 [ RunTime:0.000246s ]
[ SQL ] UPDATE `ld_theme_file` SET `theme`='index',`action`='portal/List/index',`file`='portal/list_solu',`name`='方案页',`more`='{\"vars\":[],\"widgets\":[]}',`config_more`='{\"vars\":[],\"widgets\":[]}',`description`='方案模板文件',`is_public`=0,`list_order`=10 WHERE `theme` = 'index' AND `file` = 'portal/list_solu' [ RunTime:0.004519s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_webchat' LIMIT 1 [ RunTime:0.000268s ]
[ SQL ] UPDATE `ld_theme_file` SET `theme`='index',`action`='portal/List/index',`file`='portal/list_webchat',`name`='微信程序页',`more`='{\"vars\":[],\"widgets\":[]}',`config_more`='{\"vars\":[],\"widgets\":[]}',`description`='微信程序模板文件',`is_public`=0,`list_order`=10 WHERE `theme` = 'index' AND `file` = 'portal/list_webchat' [ RunTime:0.004160s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/page' LIMIT 1 [ RunTime:0.000271s ]
[ SQL ] UPDATE `ld_theme_file` SET `theme`='index',`action`='portal/Page/index',`file`='portal/page',`name`='单页',`more`='{\"vars\":[],\"widgets\":[]}',`config_more`='{\"vars\":[],\"widgets\":[]}',`description`='单页模板',`is_public`=0,`list_order`=10 WHERE `theme` = 'index' AND `file` = 'portal/page' [ RunTime:0.004061s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' [ RunTime:0.000224s ]
[ SQL ] SHOW COLUMNS FROM `ld_theme` [ RunTime:0.000810s ]
[ SQL ] UPDATE `ld_theme` SET `name`='ld',`version`='1.0.2',`demo_url`='http://mydear.vip',`author`='龙鼎',`lang`='zh-cn',`author_url`='http://mydear.vip',`keywords`='龙鼎模板',`description`='龙鼎模板' WHERE `theme` = 'index' [ RunTime:0.004832s ]
[ SQL ] SELECT `more` FROM `ld_theme_file` WHERE `theme` = 'index' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.000214s ]
[ SQL ] SHOW COLUMNS FROM `ld_nav_menu` [ RunTime:0.000845s ]
[ SQL ] SELECT * FROM `ld_nav_menu` WHERE `parent_id` = 0 AND `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC,`id` ASC [ RunTime:0.000224s ]
[ SQL ] SELECT `parent_id`,`id` FROM `ld_portal_category` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000155s ]
[ SQL ] SELECT `parent_id`,`id` FROM `ld_portal_category` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000145s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 0 ORDER BY `list_order` ASC,`id` ASC [ RunTime:0.000268s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 0 ORDER BY `list_order` ASC,`id` ASC [ RunTime:0.000306s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 [ RunTime:0.000194s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 3 [ RunTime:0.000204s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 5 [ RunTime:0.000185s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 6 [ RunTime:0.000189s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 4 [ RunTime:0.000182s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 8 [ RunTime:0.000183s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 7 [ RunTime:0.000236s ]
[ SQL ] SELECT `path` FROM `ld_portal_category` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000166s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `id` IN (0,4,23) ORDER BY `path` ASC [ RunTime:0.000212s ]
[ SQL ] SHOW COLUMNS FROM `ld_option` [ RunTime:0.000837s ]
[ SQL ] SELECT `option_value` FROM `ld_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000179s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id,p.posid,p.listorder FROM `ld_portal_post` `post` INNER JOIN `ld_position_data` `p` ON `post`.`id`=`p`.`article_id` INNER JOIN `ld_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE ( `post`.`published_time` > '0' AND `post`.`published_time` < 1614895285 ) AND `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND `p`.`posid` = '1' GROUP BY `post`.`id` ORDER BY `listorder` DESC LIMIT 10 [ RunTime:0.001333s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id,p.posid,p.listorder FROM `ld_portal_post` `post` INNER JOIN `ld_position_data` `p` ON `post`.`id`=`p`.`article_id` INNER JOIN `ld_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE ( `post`.`published_time` > '0' AND `post`.`published_time` < 1614895285 ) AND `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND `p`.`posid` = '1' GROUP BY `post`.`id` ORDER BY `listorder` DESC LIMIT 10 [ RunTime:0.000512s ]
[ SQL ] SHOW COLUMNS FROM `ld_link` [ RunTime:0.000788s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 2 ORDER BY `list_order` ASC [ RunTime:0.000234s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 3 ORDER BY `list_order` ASC [ RunTime:0.000267s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 4 ORDER BY `list_order` ASC [ RunTime:0.000207s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 5 ORDER BY `list_order` ASC [ RunTime:0.000205s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 6 ORDER BY `list_order` ASC [ RunTime:0.000165s ]