SHOW FULL COLUMNS FROM `config` [ RunTime:0.002733s ]
SELECT `value`,`name` FROM `config` WHERE `name` IN ('mini_api_domain','site_main_domain') [ RunTime:0.000308s ]
SELECT * FROM `config` WHERE `name` = 'site_template' LIMIT 1 [ RunTime:0.000339s ]
SELECT * FROM `config` ORDER BY `sort` ASC [ RunTime:0.000386s ]
SHOW FULL COLUMNS FROM `plugin` [ RunTime:0.001128s ]
SELECT `name` FROM `plugin` WHERE `status` = 2 [ RunTime:0.000260s ]
SELECT `value` FROM `config` WHERE `name` = 'plugin_backtop_settings' LIMIT 1 [ RunTime:0.000328s ]
SELECT `value` FROM `config` WHERE `name` = 'plugin_service_settings' LIMIT 1 [ RunTime:0.000404s ]
SELECT `value` FROM `config` WHERE `name` = 'plugin_loginbeautify_settings' LIMIT 1 [ RunTime:0.000377s ]
SELECT `value` FROM `config` WHERE `name` = 'template_island_settings' LIMIT 1 [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `nav` [ RunTime:0.001065s ]
SELECT * FROM `nav` WHERE `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000290s ]
SHOW FULL COLUMNS FROM `banner` [ RunTime:0.000892s ]
SELECT * FROM `banner` WHERE `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000275s ]
SHOW FULL COLUMNS FROM `content` [ RunTime:0.001454s ]
SELECT * FROM `content` WHERE `short_code` = 'yxo' LIMIT 1 [ RunTime:0.000997s ]
SHOW FULL COLUMNS FROM `item_category` [ RunTime:0.000975s ]
SELECT `display_permission` FROM `item_category` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000306s ]
UPDATE `content` SET `view_count` = `view_count` + 1 WHERE `id` = 120 [ RunTime:0.014454s ]
SHOW FULL COLUMNS FROM `member` [ RunTime:0.001698s ]
SELECT `id`,`username`,`nickname`,`avatar`,`signature`,`space_name` FROM `member` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000356s ]
SELECT `name` FROM `item_category` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000210s ]
SHOW FULL COLUMNS FROM `item_favorite` [ RunTime:0.000850s ]
SELECT COUNT(*) AS think_count FROM `item_favorite` WHERE `item_type` = 'content' AND `item_id` = 120 [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `content_image` [ RunTime:0.000873s ]
SELECT * FROM `content_image` WHERE `content_id` = 120 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `warehouse` [ RunTime:0.001011s ]
SELECT `id`,`code`,`title`,`user_id`,`view_permission` FROM `warehouse` WHERE `note_id` = 120 AND `status` = 1 LIMIT 1 [ RunTime:0.001165s ]
SHOW FULL COLUMNS FROM `content_tag` [ RunTime:0.000824s ]
SELECT `t`.`id`,`t`.`name` FROM `content_tag` `ct` INNER JOIN `tag` `t` ON `ct`.`tag_id`=`t`.`id` WHERE `ct`.`content_id` = '120' ORDER BY `ct`.`id` ASC [ RunTime:0.000423s ]
SHOW FULL COLUMNS FROM `content_comment` [ RunTime:0.001112s ]
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` = '120' AND `c`.`target_type` = 'content' AND `c`.`parent_id` = '0' AND `c`.`status` = '1' ORDER BY `c`.`create_time` DESC LIMIT 50 [ RunTime:0.000390s ]
SELECT * FROM `content` WHERE `status` = 1 AND `review_status` = 1 AND `is_display` = 1 AND `view_permission` = 'public' AND `category_id` = 21 AND `id` <> 120 ORDER BY RAND() LIMIT 4 [ RunTime:0.002613s ]
SELECT * FROM `content_image` WHERE `content_id` = 99 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000376s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000230s ]
SELECT `name` FROM `item_category` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000262s ]
SELECT * FROM `content_image` WHERE `content_id` = 100 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000310s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000272s ]
SELECT `name` FROM `item_category` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000202s ]
SELECT * FROM `content_image` WHERE `content_id` = 248 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000258s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000264s ]
SELECT `name` FROM `item_category` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000198s ]
SELECT * FROM `content_image` WHERE `content_id` = 95 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000267s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000307s ]
SELECT `name` FROM `item_category` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000218s ]
暂无评论,来说两句吧