[ DB ] CONNECT:[ UseTime:0.000792s ] mysql:host=127.0.0.1;port=3306;dbname=wz010cc;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `ld_portal_post` [ RunTime:0.000834s ]
[ SQL ] SELECT `post`.* FROM `ld_portal_post` `post` INNER JOIN `ld_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = 1 AND ( `post`.`published_time` < '1618593179' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '3' AND `relation`.`post_id` = '4' LIMIT 1 [ RunTime:0.000622s ]
[ SQL ] SELECT `post`.* FROM `ld_portal_post` `post` INNER JOIN `ld_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = 1 AND ( `post`.`published_time` < '1618593179' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '3' AND `relation`.`post_id` < '4' ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000475s ]
[ SQL ] SELECT `post`.* FROM `ld_portal_post` `post` INNER JOIN `ld_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = 1 AND ( `post`.`published_time` < '1618593179' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '3' AND `relation`.`post_id` > '4' ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000696s ]
[ SQL ] SHOW COLUMNS FROM `ld_portal_category` [ RunTime:0.000933s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `id` = 3 AND `status` = 1 LIMIT 1 [ RunTime:0.000217s ]
[ SQL ] UPDATE `ld_portal_post` SET `post_hits`=`post_hits`+1 WHERE `id` = 4 [ RunTime:0.006243s ]
[ SQL ] SHOW COLUMNS FROM `ld_theme_file` [ RunTime:0.001109s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.000262s ]
[ 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.006431s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/article_news' LIMIT 1 [ RunTime:0.000307s ]
[ 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.008638s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list' LIMIT 1 [ RunTime:0.000295s ]
[ 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.006733s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_about' LIMIT 1 [ RunTime:0.000711s ]
[ 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.004492s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_app' LIMIT 1 [ RunTime:0.000567s ]
[ 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.005472s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_case' LIMIT 1 [ RunTime:0.000294s ]
[ 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.004853s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_news' LIMIT 1 [ RunTime:0.000329s ]
[ 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.004485s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_service' LIMIT 1 [ RunTime:0.000274s ]
[ 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.004716s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_solu' LIMIT 1 [ RunTime:0.000286s ]
[ 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.004609s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_webchat' LIMIT 1 [ RunTime:0.000300s ]
[ 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.004279s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/page' LIMIT 1 [ RunTime:0.000230s ]
[ 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.005537s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' [ RunTime:0.000264s ]
[ SQL ] SHOW COLUMNS FROM `ld_theme` [ RunTime:0.000847s ]
[ 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.004484s ]
[ SQL ] SELECT `more` FROM `ld_theme_file` WHERE `theme` = 'index' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.000293s ]
[ SQL ] SHOW COLUMNS FROM `ld_nav_menu` [ RunTime:0.001220s ]
[ 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.000234s ]
[ SQL ] SELECT `parent_id`,`id` FROM `ld_portal_category` WHERE `id` = 3 LIMIT 1 [ RunTime:0.000182s ]
[ 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.000277s ]
[ 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.000262s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 [ RunTime:0.000228s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 3 [ RunTime:0.000212s ]
[ 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.000196s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 4 [ RunTime:0.000186s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 8 [ RunTime:0.000211s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 7 [ RunTime:0.000473s ]
[ SQL ] SELECT `path` FROM `ld_portal_category` WHERE `id` = 3 LIMIT 1 [ RunTime:0.000158s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `id` IN (0,3) ORDER BY `path` ASC [ RunTime:0.000203s ]
[ SQL ] SHOW COLUMNS FROM `ld_option` [ RunTime:0.001238s ]
[ SQL ] SELECT `option_value` FROM `ld_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000188s ]
[ 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` < 1618593179 ) 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.001172s ]
[ 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` < 1618593179 ) 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.000372s ]
[ SQL ] SHOW COLUMNS FROM `ld_link` [ RunTime:0.001007s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 2 ORDER BY `list_order` ASC [ RunTime:0.000203s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 3 ORDER BY `list_order` ASC [ RunTime:0.000170s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 4 ORDER BY `list_order` ASC [ RunTime:0.000176s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 5 ORDER BY `list_order` ASC [ RunTime:0.000193s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 6 ORDER BY `list_order` ASC [ RunTime:0.000170s ]