SHOW FULL COLUMNS FROM `xf_settings` [ RunTime:0.000583s ]
SELECT `value`,`key_name` FROM `xf_settings` [ RunTime:0.000516s ]
SHOW FULL COLUMNS FROM `xf_infos` [ RunTime:0.000768s ]
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` = '29' AND `i`.`status` = '2' LIMIT 1 [ RunTime:0.000374s ]
UPDATE `xf_infos` SET `view_count` = `view_count` + 1 WHERE `id` = '29' [ RunTime:0.005979s ]
SHOW FULL COLUMNS FROM `xf_info_images` [ RunTime:0.000728s ]
SELECT * FROM `xf_info_images` WHERE `info_id` = '29' ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000890s ]
SHOW FULL COLUMNS FROM `xf_info_attachments` [ RunTime:0.001325s ]
SELECT * FROM `xf_info_attachments` WHERE `info_id` = '29' ORDER BY `id` ASC [ RunTime:0.000553s ]
SHOW FULL COLUMNS FROM `xf_contact_unlocks` [ RunTime:0.000512s ]
SELECT COUNT(*) AS think_count FROM `xf_contact_unlocks` WHERE `user_id` = '0' AND `unlock_token` = 'a51d7afaa7f07cf4afc9a49ed1d327af583151e610fcead4' AND `info_id` = '29' AND `pay_status` = 1 [ RunTime:0.000215s ]
SELECT COUNT(*) AS think_count FROM `xf_contact_unlocks` WHERE `user_id` = '0' AND `unlock_token` = 'a51d7afaa7f07cf4afc9a49ed1d327af583151e610fcead4' AND `info_id` = '29' AND `pay_status` = 1 [ RunTime:0.000249s ]
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` <> '29' 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.000923s ]
SHOW FULL COLUMNS FROM `xf_categories` [ RunTime:0.000548s ]
SELECT * FROM `xf_categories` WHERE `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000290s ]
SHOW FULL COLUMNS FROM `xf_product_categories` [ RunTime:0.000433s ]
SELECT * FROM `xf_product_categories` WHERE `status` = 1 ORDER BY `parent_id` ASC,`sort` ASC,`id` ASC [ RunTime:0.000467s ]