SHOW FULL COLUMNS FROM `xf_settings` [ RunTime:0.000473s ]
SELECT `value`,`key_name` FROM `xf_settings` [ RunTime:0.000251s ]
SHOW FULL COLUMNS FROM `xf_infos` [ RunTime:0.000393s ]
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` = '28' AND `i`.`status` = '2' LIMIT 1 [ RunTime:0.000375s ]
UPDATE `xf_infos` SET `view_count` = `view_count` + 1 WHERE `id` = '28' [ RunTime:0.002813s ]
SHOW FULL COLUMNS FROM `xf_info_images` [ RunTime:0.000331s ]
SELECT * FROM `xf_info_images` WHERE `info_id` = '28' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000232s ]
SHOW FULL COLUMNS FROM `xf_info_attachments` [ RunTime:0.000352s ]
SELECT * FROM `xf_info_attachments` WHERE `info_id` = '28' ORDER BY `id` ASC [ RunTime:0.000219s ]
SHOW FULL COLUMNS FROM `xf_contact_unlocks` [ RunTime:0.000355s ]
SELECT COUNT(*) AS think_count FROM `xf_contact_unlocks` WHERE `user_id` = '0' AND `unlock_token` = 'ded146b2d4df4bf1acc80dced647e7627790a261bb6dd022' AND `info_id` = '28' AND `pay_status` = 1 [ RunTime:0.000245s ]
SELECT COUNT(*) AS think_count FROM `xf_contact_unlocks` WHERE `user_id` = '0' AND `unlock_token` = 'ded146b2d4df4bf1acc80dced647e7627790a261bb6dd022' AND `info_id` = '28' AND `pay_status` = 1 [ RunTime:0.000202s ]
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` <> '28' 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.000393s ]
SHOW FULL COLUMNS FROM `xf_categories` [ RunTime:0.000324s ]
SELECT * FROM `xf_categories` WHERE `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000252s ]
SHOW FULL COLUMNS FROM `xf_product_categories` [ RunTime:0.000366s ]
SELECT * FROM `xf_product_categories` WHERE `status` = 1 ORDER BY `parent_id` ASC,`sort` ASC,`id` ASC [ RunTime:0.000372s ]