SHOW FULL COLUMNS FROM `sr_config` [ RunTime:0.000780s ]
SHOW FULL COLUMNS FROM `sr_navigation` [ RunTime:0.000603s ]
SHOW FULL COLUMNS FROM `sr_blog` [ RunTime:0.000644s ]
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' 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' ORDER BY `c`.`id` DESC LIMIT 0,20 [ RunTime:0.000236s ]
SHOW FULL COLUMNS FROM `sr_category` [ RunTime:0.000653s ]
SELECT * FROM `sr_category` WHERE `id` IS NULL AND `is_del` = 0 AND `is_hid` = 0 LIMIT 1 [ RunTime:0.000240s ]
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.000214s ]
SHOW FULL COLUMNS FROM `sr_collection` [ RunTime:0.000694s ]
SELECT `id`,`title`,`url`,`favicon` FROM `sr_collection` WHERE `is_del` = 0 AND `is_hid` = 0 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000237s ]
SHOW FULL COLUMNS FROM `sr_document` [ RunTime:0.000618s ]
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.000233s ]
SELECT `id`,`title` FROM `sr_document` WHERE `is_del` = 0 AND `is_hid` = 0 AND ( `category_id` = 6 OR `category_path` LIKE '-0-6-%' ) ORDER BY `id` DESC LIMIT 10 [ RunTime:0.000190s ]