SHOW FULL COLUMNS FROM `sr_config` [ RunTime:0.000740s ]
SHOW FULL COLUMNS FROM `sr_navigation` [ RunTime:0.000607s ]
SHOW FULL COLUMNS FROM `sr_category` [ RunTime:0.000698s ]
SELECT `id`,`pid`,`path`,`level`,`title`,`cover` FROM `sr_category` WHERE `type` = 'blog' AND `is_del` = 0 AND `is_hid` = 0 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000297s ]
SHOW FULL COLUMNS FROM `sr_blog` [ RunTime:0.000609s ]
SELECT COUNT(*) AS think_count FROM `sr_blog` `c` LEFT JOIN `sr_category` `category` ON `category`.`id`=`c`.`category_id` LEFT JOIN `sr_file` `file` ON `file`.`id`=`c`.`cover` WHERE `c`.`title` LIKE '%%' AND `c`.`is_del` = '0' AND `c`.`is_hid` = '0' AND ( `c`.`category_id` = '1' OR `c`.`category_path` LIKE '-0-1-%' ) LIMIT 1 [ RunTime:0.000273s ]
SELECT `c`.`id`,`c`.`title`,`c`.`description`,`c`.`add_time`,category.title category_title,file.save_path as cover_path FROM `sr_blog` `c` LEFT JOIN `sr_category` `category` ON `category`.`id`=`c`.`category_id` LEFT JOIN `sr_file` `file` ON `file`.`id`=`c`.`cover` WHERE `c`.`title` LIKE '%%' AND `c`.`is_del` = '0' AND `c`.`is_hid` = '0' AND ( `c`.`category_id` = '1' OR `c`.`category_path` LIKE '-0-1-%' ) ORDER BY `c`.`id` DESC LIMIT 0,20 [ RunTime:0.000227s ]
SELECT * FROM `sr_category` WHERE `id` = 1 AND `is_del` = 0 AND `is_hid` = 0 LIMIT 1 [ RunTime:0.000266s ]
SELECT `id`,`pid`,`path`,`level`,`title`,`cover` FROM `sr_category` WHERE `type` = 'blog' AND `is_del` = 0 AND `is_hid` = 0 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000207s ]
SHOW FULL COLUMNS FROM `sr_collection` [ RunTime:0.000642s ]
SELECT `id`,`title`,`url`,`favicon` FROM `sr_collection` WHERE `is_del` = 0 AND `is_hid` = 0 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000211s ]
SHOW FULL COLUMNS FROM `sr_document` [ RunTime:0.000530s ]
SELECT `id`,`title` FROM `sr_document` WHERE `is_del` = 0 AND `is_hid` = 0 ORDER BY `is_recommend` DESC,`id` DESC LIMIT 10 [ RunTime:0.000241s ]