SHOW FULL COLUMNS FROM `xf_settings` [ RunTime:0.002952s ]
SELECT `value`,`key_name` FROM `xf_settings` [ RunTime:0.000309s ]
SHOW FULL COLUMNS FROM `xf_infos` [ RunTime:0.000532s ]
SELECT `i`.*,`u`.`nickname`,`u`.`auth_status`,`u`.`avatar`,c.name category_name,`e`.`company_name`,`e`.`credit_code`,e.id enterprise_id FROM `xf_infos` `i` LEFT JOIN `xf_users` `u` ON `u`.`id`=`i`.`user_id` LEFT JOIN `xf_categories` `c` ON `c`.`id`=`i`.`category_id` LEFT JOIN `xf_enterprises` `e` ON `e`.`user_id`=`i`.`user_id` WHERE `i`.`id` = '27' AND `i`.`status` = '2' LIMIT 1 [ RunTime:0.001726s ]
UPDATE `xf_infos` SET `view_count` = `view_count` + 1 WHERE `id` = '27' [ RunTime:0.010240s ]
SHOW FULL COLUMNS FROM `xf_info_images` [ RunTime:0.002123s ]
SELECT * FROM `xf_info_images` WHERE `info_id` = '27' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.001636s ]
SHOW FULL COLUMNS FROM `xf_info_attachments` [ RunTime:0.002014s ]
SELECT * FROM `xf_info_attachments` WHERE `info_id` = '27' ORDER BY `id` ASC [ RunTime:0.000261s ]
SHOW FULL COLUMNS FROM `xf_contact_unlocks` [ RunTime:0.000719s ]
SELECT COUNT(*) AS think_count FROM `xf_contact_unlocks` WHERE `user_id` = '0' AND `unlock_token` = '82ea7e6ed48e9b5dbf2e5697f06a1116cad558899afd3083' AND `info_id` = '27' AND `pay_status` = 1 [ RunTime:0.000340s ]
SELECT COUNT(*) AS think_count FROM `xf_contact_unlocks` WHERE `user_id` = '0' AND `unlock_token` = '82ea7e6ed48e9b5dbf2e5697f06a1116cad558899afd3083' AND `info_id` = '27' AND `pay_status` = 1 [ RunTime:0.000557s ]
SELECT `i`.`id`,`i`.`title`,`i`.`summary`,`i`.`content`,`i`.`view_count`,`i`.`quote_count`,`i`.`allow_quote`,`i`.`is_recommend`,`i`.`published_at`,`u`.`nickname`,`u`.`auth_status`,c.name category_name FROM `xf_infos` `i` LEFT JOIN `xf_users` `u` ON `u`.`id`=`i`.`user_id` LEFT JOIN `xf_categories` `c` ON `c`.`id`=`i`.`category_id` WHERE `i`.`status` = '2' AND `i`.`id` <> '27' ORDER BY `i`.`is_recommend` DESC,`i`.`is_top` DESC,`i`.`view_count` DESC,`i`.`published_at` DESC,`i`.`id` DESC LIMIT 5 [ RunTime:0.002405s ]
SHOW FULL COLUMNS FROM `xf_categories` [ RunTime:0.000410s ]
SELECT * FROM `xf_categories` WHERE `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000307s ]
SHOW FULL COLUMNS FROM `xf_product_categories` [ RunTime:0.000398s ]
SELECT * FROM `xf_product_categories` WHERE `status` = 1 ORDER BY `parent_id` ASC,`sort` ASC,`id` ASC [ RunTime:0.000607s ]