SHOW FULL COLUMNS FROM `config` [ RunTime:0.003678s ]
SELECT `value`,`name` FROM `config` WHERE `name` IN ('mini_api_domain','site_main_domain') [ RunTime:0.000487s ]
SELECT * FROM `config` WHERE `name` = 'site_template' LIMIT 1 [ RunTime:0.000695s ]
SELECT * FROM `config` ORDER BY `sort` ASC [ RunTime:0.000537s ]
SHOW FULL COLUMNS FROM `plugin` [ RunTime:0.001362s ]
SELECT `name` FROM `plugin` WHERE `status` = 2 [ RunTime:0.000374s ]
SELECT `value` FROM `config` WHERE `name` = 'plugin_backtop_settings' LIMIT 1 [ RunTime:0.000329s ]
SELECT `value` FROM `config` WHERE `name` = 'plugin_service_settings' LIMIT 1 [ RunTime:0.000376s ]
SELECT `value` FROM `config` WHERE `name` = 'plugin_loginbeautify_settings' LIMIT 1 [ RunTime:0.000314s ]
SELECT `value` FROM `config` WHERE `name` = 'template_island_settings' LIMIT 1 [ RunTime:0.000301s ]
SHOW FULL COLUMNS FROM `nav` [ RunTime:0.004071s ]
SELECT * FROM `nav` WHERE `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000465s ]
SHOW FULL COLUMNS FROM `banner` [ RunTime:0.004459s ]
SELECT * FROM `banner` WHERE `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000392s ]
SHOW FULL COLUMNS FROM `content` [ RunTime:0.004864s ]
SELECT * FROM `content` WHERE `short_code` = 'okb' LIMIT 1 [ RunTime:0.001157s ]
SHOW FULL COLUMNS FROM `item_category` [ RunTime:0.003592s ]
SELECT `display_permission` FROM `item_category` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000417s ]
UPDATE `content` SET `view_count` = `view_count` + 1 WHERE `id` = 55 [ RunTime:0.036739s ]
SHOW FULL COLUMNS FROM `member` [ RunTime:0.001779s ]
SELECT `id`,`username`,`nickname`,`avatar`,`signature`,`space_name` FROM `member` WHERE `id` = 5 LIMIT 1 [ RunTime:0.001691s ]
SELECT `name` FROM `item_category` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000338s ]
SHOW FULL COLUMNS FROM `item_favorite` [ RunTime:0.002515s ]
SELECT COUNT(*) AS think_count FROM `item_favorite` WHERE `item_type` = 'content' AND `item_id` = 55 [ RunTime:0.000426s ]
SHOW FULL COLUMNS FROM `content_image` [ RunTime:0.002333s ]
SELECT * FROM `content_image` WHERE `content_id` = 55 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.001474s ]
SHOW FULL COLUMNS FROM `warehouse` [ RunTime:0.001483s ]
SELECT `id`,`code`,`title`,`user_id`,`view_permission` FROM `warehouse` WHERE `note_id` = 55 AND `status` = 1 LIMIT 1 [ RunTime:0.003389s ]
SHOW FULL COLUMNS FROM `content_tag` [ RunTime:0.007248s ]
SELECT `t`.`id`,`t`.`name` FROM `content_tag` `ct` INNER JOIN `tag` `t` ON `ct`.`tag_id`=`t`.`id` WHERE `ct`.`content_id` = '55' ORDER BY `ct`.`id` ASC [ RunTime:0.008232s ]
SHOW FULL COLUMNS FROM `content_comment` [ RunTime:0.002983s ]
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` = '55' AND `c`.`target_type` = 'content' AND `c`.`parent_id` = '0' AND `c`.`status` = '1' ORDER BY `c`.`create_time` DESC LIMIT 50 [ RunTime:0.001583s ]
SELECT * FROM `content` WHERE `status` = 1 AND `review_status` = 1 AND `is_display` = 1 AND `view_permission` = 'public' AND `category_id` = 19 AND `id` <> 55 ORDER BY RAND() LIMIT 4 [ RunTime:0.003267s ]
SELECT * FROM `content_image` WHERE `content_id` = 64 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.001887s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000399s ]
SELECT `name` FROM `item_category` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000336s ]
SELECT * FROM `content_image` WHERE `content_id` = 122 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000310s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000411s ]
SELECT `name` FROM `item_category` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000339s ]
SELECT * FROM `content_image` WHERE `content_id` = 102 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000368s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000383s ]
SELECT `name` FROM `item_category` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000299s ]
SELECT * FROM `content_image` WHERE `content_id` = 113 AND `image_type` = 'content' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000573s ]
SELECT `id`,`username`,`nickname`,`avatar`,`space_name` FROM `member` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000334s ]
SELECT `name` FROM `item_category` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000318s ]
暂无评论,来说两句吧