SHOW FULL COLUMNS FROM `config` [ RunTime:0.004199s ]
SELECT `value`,`name` FROM `config` WHERE `name` IN ('mini_api_domain','site_main_domain') [ RunTime:0.002367s ]
SELECT * FROM `config` WHERE `name` = 'site_template' LIMIT 1 [ RunTime:0.002496s ]
SELECT * FROM `config` ORDER BY `sort` ASC [ RunTime:0.000497s ]
SHOW FULL COLUMNS FROM `plugin` [ RunTime:0.006355s ]
SELECT `name` FROM `plugin` WHERE `status` = 2 [ RunTime:0.000478s ]
SELECT `value` FROM `config` WHERE `name` = 'plugin_backtop_settings' LIMIT 1 [ RunTime:0.000474s ]
SELECT `value` FROM `config` WHERE `name` = 'plugin_service_settings' LIMIT 1 [ RunTime:0.000350s ]
SELECT `value` FROM `config` WHERE `name` = 'plugin_loginbeautify_settings' LIMIT 1 [ RunTime:0.000328s ]
SELECT `value` FROM `config` WHERE `name` = 'template_island_settings' LIMIT 1 [ RunTime:0.000433s ]
SHOW FULL COLUMNS FROM `nav` [ RunTime:0.008673s ]
SELECT * FROM `nav` WHERE `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000520s ]
SHOW FULL COLUMNS FROM `banner` [ RunTime:0.004003s ]
SELECT * FROM `banner` WHERE `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000461s ]
SHOW FULL COLUMNS FROM `content` [ RunTime:0.004805s ]
SELECT * FROM `content` WHERE `short_code` = 'pe0' LIMIT 1 [ RunTime:0.014574s ]
SHOW FULL COLUMNS FROM `item_category` [ RunTime:0.003871s ]
SELECT `display_permission` FROM `item_category` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000379s ]
UPDATE `content` SET `view_count` = `view_count` + 1 WHERE `id` = 150 [ RunTime:0.012014s ]
SHOW FULL COLUMNS FROM `member` [ RunTime:0.004406s ]
SELECT `id`,`username`,`nickname`,`avatar`,`signature`,`space_name` FROM `member` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000465s ]
SELECT `name` FROM `item_category` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000410s ]
SHOW FULL COLUMNS FROM `item_favorite` [ RunTime:0.003774s ]
SELECT COUNT(*) AS think_count FROM `item_favorite` WHERE `item_type` = 'content' AND `item_id` = 150 [ RunTime:0.000482s ]
SHOW FULL COLUMNS FROM `content_image` [ RunTime:0.001535s ]
SELECT * FROM `content_image` WHERE `content_id` = 150 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000537s ]
SHOW FULL COLUMNS FROM `warehouse` [ RunTime:0.001855s ]
SELECT `id`,`code`,`title`,`user_id`,`view_permission` FROM `warehouse` WHERE `note_id` = 150 AND `status` = 1 LIMIT 1 [ RunTime:0.001988s ]
SHOW FULL COLUMNS FROM `content_tag` [ RunTime:0.001287s ]
SELECT `t`.`id`,`t`.`name` FROM `content_tag` `ct` INNER JOIN `tag` `t` ON `ct`.`tag_id`=`t`.`id` WHERE `ct`.`content_id` = '150' ORDER BY `ct`.`id` ASC [ RunTime:0.000510s ]
SHOW FULL COLUMNS FROM `content_comment` [ RunTime:0.001338s ]
SELECT `c`.*,`m`.`nickname`,`m`.`avatar`,`m`.`username`,`m`.`space_name` FROM `content_comment` `c` LEFT JOIN `member` `m` ON `c`.`user_id`=`m`.`id` WHERE `c`.`content_id` = '150' AND `c`.`target_type` = 'content' AND `c`.`parent_id` = '0' AND `c`.`status` = '1' ORDER BY `c`.`create_time` DESC LIMIT 50 [ RunTime:0.000547s ]
SELECT * FROM `content` WHERE `status` = 1 AND `review_status` = 1 AND `is_display` = 1 AND `view_permission` = 'public' AND `category_id` = 21 AND `id` <> 150 ORDER BY RAND() LIMIT 4 [ RunTime:0.003377s ]
SELECT * FROM `content_image` WHERE `content_id` = 83 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.008432s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000361s ]
SELECT `name` FROM `item_category` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000313s ]
SELECT * FROM `content_image` WHERE `content_id` = 248 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000334s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000403s ]
SELECT `name` FROM `item_category` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000328s ]
SELECT * FROM `content_image` WHERE `content_id` = 95 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000385s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000388s ]
SELECT `name` FROM `item_category` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000357s ]
SELECT * FROM `content_image` WHERE `content_id` = 84 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000380s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000331s ]
SELECT `name` FROM `item_category` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000348s ]
暂无评论,来说两句吧