[ DB ] CONNECT:[ UseTime:0.000345s ] mysql:host=127.0.0.1;port=3306;dbname=wz010cc;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `ld_portal_post` [ RunTime:0.000912s ]
[ SQL ] SELECT `post`.* FROM `ld_portal_post` `post` WHERE `post`.`post_type` = 1 AND ( `post`.`published_time` < '1550779303' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `post`.`id` = '18' LIMIT 1 [ RunTime:0.000541s ]
[ SQL ] SELECT `post`.* FROM `ld_portal_post` `post` WHERE `post`.`post_type` = 1 AND ( `post`.`published_time` < '1550779303' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `post`.`id` < '18' ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000505s ]
[ SQL ] SELECT `post`.* FROM `ld_portal_post` `post` WHERE `post`.`post_type` = 1 AND ( `post`.`published_time` < '1550779303' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `post`.`id` > '18' ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000407s ]
[ SQL ] SHOW COLUMNS FROM `ld_portal_category_post` [ RunTime:0.000576s ]
[ SQL ] SHOW COLUMNS FROM `ld_portal_category` [ RunTime:0.000589s ]
[ 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` = 18 [ RunTime:0.000229s ]
[ SQL ] UPDATE `ld_portal_post` SET `post_hits`=`post_hits`+1 WHERE `id` = 18 [ RunTime:0.006105s ]
[ SQL ] SHOW COLUMNS FROM `ld_theme_file` [ RunTime:0.000878s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.000228s ]
[ 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.005471s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/article_news' LIMIT 1 [ RunTime:0.000294s ]
[ 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.003756s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list' LIMIT 1 [ RunTime:0.000242s ]
[ 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.003686s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_about' LIMIT 1 [ RunTime:0.000217s ]
[ 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.003830s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_app' LIMIT 1 [ RunTime:0.000241s ]
[ 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.004036s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_case' LIMIT 1 [ RunTime:0.000218s ]
[ 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.004030s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_news' LIMIT 1 [ RunTime:0.000228s ]
[ 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.004130s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_service' LIMIT 1 [ RunTime:0.000212s ]
[ 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.003539s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_solu' LIMIT 1 [ RunTime:0.000212s ]
[ 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.003868s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/list_webchat' LIMIT 1 [ RunTime:0.000263s ]
[ 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.004645s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' AND `file` = 'portal/page' LIMIT 1 [ RunTime:0.000307s ]
[ 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.003856s ]
[ SQL ] SELECT * FROM `ld_theme_file` WHERE `theme` = 'index' [ RunTime:0.000220s ]
[ SQL ] SHOW COLUMNS FROM `ld_theme` [ RunTime:0.000698s ]
[ 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.006520s ]
[ SQL ] SELECT `more` FROM `ld_theme_file` WHERE `theme` = 'index' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.000224s ]
[ SQL ] SHOW COLUMNS FROM `ld_nav_menu` [ RunTime:0.000761s ]
[ 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.000272s ]
[ SQL ] SELECT `parent_id`,`id` FROM `ld_portal_category` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000190s ]
[ SQL ] SELECT `parent_id`,`id` FROM `ld_portal_category` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000146s ]
[ 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.000220s ]
[ 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.000240s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 [ RunTime:0.000196s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 3 [ RunTime:0.000197s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 5 [ RunTime:0.000183s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 6 [ RunTime:0.000183s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 4 [ RunTime:0.000214s ]
[ 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.000207s ]
[ SQL ] SELECT `path` FROM `ld_portal_category` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000158s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `id` IN (0,8,10) ORDER BY `path` ASC [ RunTime:0.000192s ]
[ SQL ] SHOW COLUMNS FROM `ld_option` [ RunTime:0.000713s ]
[ SQL ] SELECT `option_value` FROM `ld_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000158s ]
[ 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` < 1550779303 ) 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.000927s ]
[ 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` < 1550779303 ) 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.000302s ]
[ SQL ] SHOW COLUMNS FROM `ld_link` [ RunTime:0.000709s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 2 ORDER BY `list_order` ASC [ RunTime:0.000178s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 3 ORDER BY `list_order` ASC [ RunTime:0.000197s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 4 ORDER BY `list_order` ASC [ RunTime:0.000168s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 5 ORDER BY `list_order` ASC [ RunTime:0.000178s ]
[ SQL ] SELECT * FROM `ld_link` WHERE `status` = 1 AND `type_id` = 6 ORDER BY `list_order` ASC [ RunTime:0.000185s ]