[ DB ] CONNECT:[ UseTime:0.000553s ] mysql:host=127.0.0.1;port=3306;dbname=www_dasf_com_cn;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `ld_portal_post` [ RunTime:0.001571s ]
[ 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` < '1731877760' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '4' AND `relation`.`post_id` = '21' LIMIT 1 [ RunTime:0.000727s ]
[ SQL ] SHOW COLUMNS FROM `ld_portal_category` [ RunTime:0.001412s ]
[ SQL ] SELECT `parent_id`,`id` FROM `ld_portal_category` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000308s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `id` = 4 AND `status` = 1 LIMIT 1 [ RunTime:0.000306s ]
[ SQL ] SHOW COLUMNS FROM `ld_portal_category_post` [ RunTime:0.000676s ]
[ SQL ] SELECT `list_order` FROM `ld_portal_category_post` WHERE `post_id` = 21 LIMIT 1 [ RunTime:0.000233s ]
[ SQL ] SELECT `post_id`,`list_order` FROM `ld_portal_category_post` WHERE `category_id` IN (4) ORDER BY `list_order`,`id` DESC [ RunTime:0.000289s ]
[ 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` < '1731877760' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '4' AND `relation`.`post_id` = 22 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000498s ]
[ SQL ] SELECT `list_order` FROM `ld_portal_category_post` WHERE `post_id` = 21 LIMIT 1 [ RunTime:0.000220s ]
[ SQL ] SELECT `post_id`,`list_order` FROM `ld_portal_category_post` WHERE `category_id` IN (4) ORDER BY `list_order`,`id` DESC [ RunTime:0.000260s ]
[ 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` < '1731877760' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '4' AND `relation`.`post_id` = '' ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000507s ]
[ SQL ] SELECT * FROM `ld_portal_category` WHERE `id` = 4 AND `status` = 1 LIMIT 1 [ RunTime:0.000269s ]
[ SQL ] UPDATE `ld_portal_post` SET `post_hits`=`post_hits`+1 WHERE `id` = 21 [ RunTime:0.011094s ]
[ SQL ] SELECT `parent_id`,`id` FROM `ld_portal_category` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000295s ]
[ SQL ] SHOW COLUMNS FROM `ld_theme_file` [ RunTime:0.000623s ]
[ SQL ] SELECT `more` FROM `ld_theme_file` WHERE `theme` = 'index' AND ( `is_public` = 1 OR `file` = 'portal/article_plan' ) [ RunTime:0.000319s ]
[ SQL ] SHOW COLUMNS FROM `ld_nav_menu` [ RunTime:0.000835s ]
[ 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.000349s ]
[ 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.000507s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `ld_portal_post` `post` INNER JOIN `ld_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE ( `post`.`published_time` > '0' AND `post`.`published_time` < 1731877760 ) AND `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND `category_post`.`category_id` = '4' GROUP BY `post`.`id` ORDER BY `post`.`list_order`,`post`.`published_time` DESC LIMIT 10 [ RunTime:0.001264s ]