[ 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.000946s ]
[ 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` < '1614892270' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '22' AND `relation`.`post_id` = '7' LIMIT 1 [ RunTime:0.000589s ]
[ 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` < '1614892270' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '22' AND `relation`.`post_id` < '7' ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000623s ]
[ 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` < '1614892270' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '22' AND `relation`.`post_id` > '7' ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000590s ]
[ SQL ] SHOW COLUMNS FROM `ld_portal_category` [ RunTime:0.000559s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `id` = 22 AND `status` = 1 LIMIT 1 [ RunTime:0.000192s ]
[ SQL ] UPDATE `ld_portal_post` SET `post_hits`=`post_hits`+1 WHERE `id` = 7 [ RunTime:0.005130s ]
[ SQL ] SHOW COLUMNS FROM `ld_theme_file` [ RunTime:0.000792s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.000314s ]
[ 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.003993s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/article_news' LIMIT 1 [ RunTime:0.000218s ]
[ 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.003868s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list' LIMIT 1 [ RunTime:0.000218s ]
[ 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.004129s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_about' LIMIT 1 [ RunTime:0.000271s ]
[ 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.004613s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_app' LIMIT 1 [ RunTime:0.000316s ]
[ 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.004041s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_case' LIMIT 1 [ RunTime:0.000321s ]
[ 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.025280s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_news' LIMIT 1 [ RunTime:0.000320s ]
[ 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.004761s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_service' LIMIT 1 [ RunTime:0.000270s ]
[ 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.004946s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_solu' LIMIT 1 [ RunTime:0.000269s ]
[ 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.004754s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_webchat' LIMIT 1 [ RunTime:0.000519s ]
[ 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.005311s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/page' LIMIT 1 [ RunTime:0.000294s ]
[ 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.005443s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' [ RunTime:0.000297s ]
[ SQL ] SHOW COLUMNS FROM `ld_theme` [ RunTime:0.000756s ]
[ 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.004134s ]
[ SQL ] SELECT `more` FROM `ld_theme_file` WHERE `theme` = 'index' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.000304s ]
[ SQL ] SHOW COLUMNS FROM `ld_nav_menu` [ RunTime:0.000884s ]
[ 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.000235s ]
[ SQL ] SELECT `parent_id`,`id` FROM `ld_portal_category` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000207s ]
[ SQL ] SELECT `parent_id`,`id` FROM `ld_portal_category` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000171s ]
[ 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.000214s ]
[ 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.000235s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 [ RunTime:0.000253s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 3 [ RunTime:0.000213s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 5 [ RunTime:0.000178s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 6 [ RunTime:0.000204s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 4 [ RunTime:0.000178s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 8 [ RunTime:0.000201s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 7 [ RunTime:0.000213s ]
[ SQL ] SELECT `path` FROM `ld_portal_category` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000151s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `id` IN (0,4,22) ORDER BY `path` ASC [ RunTime:0.000206s ]
[ SQL ] SHOW COLUMNS FROM `ld_option` [ RunTime:0.000784s ]
[ SQL ] SELECT `option_value` FROM `ld_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000209s ]
[ 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` < 1614892270 ) 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.001136s ]
[ 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` < 1614892270 ) 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.000355s ]
[ SQL ] SHOW COLUMNS FROM `ld_link` [ RunTime:0.000764s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 2 ORDER BY `list_order` ASC [ RunTime:0.000179s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 3 ORDER BY `list_order` ASC [ RunTime:0.000177s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 4 ORDER BY `list_order` ASC [ RunTime:0.000181s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 5 ORDER BY `list_order` ASC [ RunTime:0.000164s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 6 ORDER BY `list_order` ASC [ RunTime:0.000161s ]