[ DB ] CONNECT:[ UseTime:0.000698s ] mysql:host=127.0.0.1;port=3306;dbname=wz010cc;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `ld_portal_post` [ RunTime:0.000965s ]
[ 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` < '1618594131' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` = '17' LIMIT 1 [ RunTime:0.000642s ]
[ 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` < '1618594131' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` < '17' ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000793s ]
[ 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` < '1618594131' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` > '17' ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000651s ]
[ SQL ] SHOW COLUMNS FROM `ld_portal_category` [ RunTime:0.000903s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `id` = 6 AND `status` = 1 LIMIT 1 [ RunTime:0.000247s ]
[ SQL ] UPDATE `ld_portal_post` SET `post_hits`=`post_hits`+1 WHERE `id` = 17 [ RunTime:0.005390s ]
[ SQL ] SHOW COLUMNS FROM `ld_theme_file` [ RunTime:0.001038s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.000259s ]
[ 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.005110s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/article_news' LIMIT 1 [ RunTime:0.000297s ]
[ 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.004858s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list' LIMIT 1 [ RunTime:0.000300s ]
[ 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.006299s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_about' LIMIT 1 [ RunTime:0.000325s ]
[ 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.005157s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_app' LIMIT 1 [ RunTime:0.000743s ]
[ 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.004837s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_case' LIMIT 1 [ RunTime:0.000280s ]
[ 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.004315s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_news' LIMIT 1 [ RunTime:0.000303s ]
[ 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.004234s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_service' LIMIT 1 [ RunTime:0.000246s ]
[ 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.005519s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_solu' LIMIT 1 [ RunTime:0.000358s ]
[ 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.006108s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_webchat' LIMIT 1 [ RunTime:0.000308s ]
[ 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.005686s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/page' LIMIT 1 [ RunTime:0.000342s ]
[ 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.005352s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' [ RunTime:0.000309s ]
[ SQL ] SHOW COLUMNS FROM `ld_theme` [ RunTime:0.000736s ]
[ 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.020334s ]
[ SQL ] SELECT `more` FROM `ld_theme_file` WHERE `theme` = 'index' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.000288s ]
[ SQL ] SHOW COLUMNS FROM `ld_nav_menu` [ RunTime:0.001036s ]
[ 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.000255s ]
[ SQL ] SELECT `parent_id`,`id` FROM `ld_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000174s ]
[ 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.000291s ]
[ 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.000669s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 [ RunTime:0.000204s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 3 [ RunTime:0.000229s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 5 [ RunTime:0.000182s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 6 [ RunTime:0.000201s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 4 [ RunTime:0.000247s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 8 [ RunTime:0.000210s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 7 [ RunTime:0.000203s ]
[ SQL ] SELECT `path` FROM `ld_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000361s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `id` IN (0,6) ORDER BY `path` ASC [ RunTime:0.000213s ]
[ SQL ] SHOW COLUMNS FROM `ld_option` [ RunTime:0.000971s ]
[ SQL ] SELECT `option_value` FROM `ld_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000182s ]
[ 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` < 1618594131 ) 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.001031s ]
[ 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` < 1618594131 ) 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.000288s ]
[ SQL ] SHOW COLUMNS FROM `ld_link` [ RunTime:0.000886s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 2 ORDER BY `list_order` ASC [ RunTime:0.000218s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 3 ORDER BY `list_order` ASC [ RunTime:0.000165s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 4 ORDER BY `list_order` ASC [ RunTime:0.000152s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 5 ORDER BY `list_order` ASC [ RunTime:0.000165s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 6 ORDER BY `list_order` ASC [ RunTime:0.000151s ]