[ SQL ] SHOW COLUMNS FROM `maycms_portal_category` [ RunTime:0.000657s ]
[ SQL ] SELECT * FROM `maycms_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 4 ORDER BY `list_order` ASC [ RunTime:0.000271s ]
[ SQL ] SELECT * FROM `maycms_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 2 ORDER BY `list_order` ASC [ RunTime:0.000267s ]
[ SQL ] SELECT * FROM `maycms_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 5 ORDER BY `list_order` ASC [ RunTime:0.000246s ]
[ SQL ] SELECT * FROM `maycms_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 18 ORDER BY `list_order` ASC [ RunTime:0.000251s ]
[ SQL ] SELECT * FROM `maycms_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 22 ORDER BY `list_order` ASC [ RunTime:0.000257s ]
[ SQL ] SHOW COLUMNS FROM `maycms_portal_post` [ RunTime:0.000640s ]
[ SQL ] SELECT * FROM `maycms_portal_post` `a` INNER JOIN `maycms_portal_category_post` `b` ON `a`.`id`=`b`.`post_id` INNER JOIN `maycms_portal_category` `c` ON `c`.`id`=`b`.`category_id` WHERE `a`.`create_time` >= '0' AND `a`.`delete_time` = '0' AND `a`.`post_status` = '1' AND ( c.path like "0-2-%" or c.path like "0-4-%" or c.path like "0-5-%" ) AND `a`.`recommended` = '1' ORDER BY `b`.`list_order` ASC,`a`.`published_time` DESC LIMIT 0,8 [ RunTime:0.000455s ]
[ SQL ] SELECT * FROM `maycms_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 18 ORDER BY `list_order` ASC [ RunTime:0.000266s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id, min(category.name) as category_name FROM `maycms_portal_post` `post` INNER JOIN `maycms_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` INNER JOIN `maycms_portal_category` `category` ON `category_post`.`category_id`=`category`.`id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `post`.`create_time` >= '0' AND `post`.`recommended` = '1' ) AND ( `category_post`.`category_id` IN ('18','19','20','21') ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < '1742996571' ) GROUP BY `post`.`id` ORDER BY `post`.`create_time` ASC LIMIT 4 [ RunTime:0.000329s ]