SHOW FULL COLUMNS FROM `config` [ RunTime:0.000812s ]
SELECT `value`,`name` FROM `config` WHERE `name` IN ('mini_api_domain','site_main_domain') [ RunTime:0.000321s ]
SELECT * FROM `config` WHERE `name` = 'site_template' LIMIT 1 [ RunTime:0.000316s ]
SELECT * FROM `config` ORDER BY `sort` ASC [ RunTime:0.000350s ]
SHOW FULL COLUMNS FROM `plugin` [ RunTime:0.001062s ]
SELECT `name` FROM `plugin` WHERE `status` = 2 [ RunTime:0.000251s ]
SELECT `value` FROM `config` WHERE `name` = 'plugin_backtop_settings' LIMIT 1 [ RunTime:0.000247s ]
SELECT `value` FROM `config` WHERE `name` = 'plugin_service_settings' LIMIT 1 [ RunTime:0.000219s ]
SELECT `value` FROM `config` WHERE `name` = 'plugin_loginbeautify_settings' LIMIT 1 [ RunTime:0.000244s ]
SELECT `value` FROM `config` WHERE `name` = 'template_island_settings' LIMIT 1 [ RunTime:0.000229s ]
SHOW FULL COLUMNS FROM `nav` [ RunTime:0.000818s ]
SELECT * FROM `nav` WHERE `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000298s ]
SHOW FULL COLUMNS FROM `banner` [ RunTime:0.000898s ]
SELECT * FROM `banner` WHERE `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `content` [ RunTime:0.001222s ]
SELECT * FROM `content` WHERE `short_code` = 'kxk' LIMIT 1 [ RunTime:0.000794s ]
SHOW FULL COLUMNS FROM `item_category` [ RunTime:0.000808s ]
SELECT `display_permission` FROM `item_category` WHERE `id` = 16 LIMIT 1 [ RunTime:0.001768s ]
UPDATE `content` SET `view_count` = `view_count` + 1 WHERE `id` = 45 [ RunTime:0.003818s ]
SHOW FULL COLUMNS FROM `member` [ RunTime:0.001440s ]
SELECT `id`,`username`,`nickname`,`avatar`,`signature`,`space_name` FROM `member` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000344s ]
SELECT `name` FROM `item_category` WHERE `id` = 16 LIMIT 1 [ RunTime:0.000260s ]
SHOW FULL COLUMNS FROM `item_favorite` [ RunTime:0.000949s ]
SELECT COUNT(*) AS think_count FROM `item_favorite` WHERE `item_type` = 'content' AND `item_id` = 45 [ RunTime:0.000273s ]
SHOW FULL COLUMNS FROM `content_image` [ RunTime:0.000893s ]
SELECT * FROM `content_image` WHERE `content_id` = 45 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000297s ]
SHOW FULL COLUMNS FROM `warehouse` [ RunTime:0.000856s ]
SELECT `id`,`code`,`title`,`user_id`,`view_permission` FROM `warehouse` WHERE `note_id` = 45 AND `status` = 1 LIMIT 1 [ RunTime:0.001196s ]
SHOW FULL COLUMNS FROM `content_tag` [ RunTime:0.000749s ]
SELECT `t`.`id`,`t`.`name` FROM `content_tag` `ct` INNER JOIN `tag` `t` ON `ct`.`tag_id`=`t`.`id` WHERE `ct`.`content_id` = '45' ORDER BY `ct`.`id` ASC [ RunTime:0.000265s ]
SHOW FULL COLUMNS FROM `content_comment` [ RunTime:0.000758s ]
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` = '45' AND `c`.`target_type` = 'content' AND `c`.`parent_id` = '0' AND `c`.`status` = '1' ORDER BY `c`.`create_time` DESC LIMIT 50 [ RunTime:0.000466s ]
SELECT * FROM `content` WHERE `status` = 1 AND `review_status` = 1 AND `is_display` = 1 AND `view_permission` = 'public' AND `category_id` = 16 AND `id` <> 45 ORDER BY RAND() LIMIT 4 [ RunTime:0.002421s ]
SELECT * FROM `content_image` WHERE `content_id` = 78 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000301s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000223s ]
SELECT `name` FROM `item_category` WHERE `id` = 16 LIMIT 1 [ RunTime:0.000279s ]
SELECT * FROM `content_image` WHERE `content_id` = 12 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000236s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000270s ]
SELECT `name` FROM `item_category` WHERE `id` = 16 LIMIT 1 [ RunTime:0.000244s ]
SELECT * FROM `content_image` WHERE `content_id` = 165 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000304s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000361s ]
SELECT `name` FROM `item_category` WHERE `id` = 16 LIMIT 1 [ RunTime:0.000232s ]
SELECT * FROM `content_image` WHERE `content_id` = 60 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000311s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000336s ]
SELECT `name` FROM `item_category` WHERE `id` = 16 LIMIT 1 [ RunTime:0.000324s ]
暂无评论,来说两句吧