SHOW FULL COLUMNS FROM `sr_config` [ RunTime:0.000743s ]
SHOW FULL COLUMNS FROM `sr_navigation` [ RunTime:0.000585s ]
SHOW FULL COLUMNS FROM `sr_blog` [ RunTime:0.000563s ]
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.000263s ]
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.000250s ]
SHOW FULL COLUMNS FROM `sr_category` [ RunTime:0.000612s ]
SELECT * FROM `sr_category` WHERE `id` IS NULL AND `is_del` = 0 AND `is_hid` = 0 LIMIT 1 [ RunTime:0.000222s ]
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.000192s ]
SHOW FULL COLUMNS FROM `sr_collection` [ RunTime:0.000592s ]
SELECT `id`,`title`,`url`,`favicon` FROM `sr_collection` WHERE `is_del` = 0 AND `is_hid` = 0 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000210s ]
SHOW FULL COLUMNS FROM `sr_document` [ RunTime:0.000557s ]
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.000284s ]
SELECT `id`,`title` FROM `sr_document` WHERE `is_del` = 0 AND `is_hid` = 0 AND ( `category_id` = 2 OR `category_path` LIKE '-0-2-%' ) ORDER BY `id` DESC LIMIT 10 [ RunTime:0.000223s ]