SHOW FULL COLUMNS FROM `s_navigation` [ RunTime:0.001690s ]
SELECT `id`,`pid`,`name`,`url`,`value`,`data_type`,`is_new_window_open` FROM `s_navigation` WHERE `nav_type` = 'header' AND `is_show` = 1 AND `pid` = 0 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000395s ]
SELECT `id`,`pid`,`name`,`url`,`value`,`data_type`,`is_new_window_open` FROM `s_navigation` WHERE `nav_type` = 'header' AND `is_show` = 1 AND `pid` = 24 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000446s ]
SELECT `id`,`pid`,`name`,`url`,`value`,`data_type`,`is_new_window_open` FROM `s_navigation` WHERE `nav_type` = 'footer' AND `is_show` = 1 AND `pid` = 0 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.001125s ]
SELECT `id`,`pid`,`name`,`url`,`value`,`data_type`,`is_new_window_open` FROM `s_navigation` WHERE `nav_type` = 'footer' AND `is_show` = 1 AND `pid` IN (34,35,36,37,55) ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000458s ]
SHOW FULL COLUMNS FROM `s_quick_nav` [ RunTime:0.001682s ]
SELECT `id`,`name`,`images_url`,`event_value`,`event_type`,`bg_color` FROM `s_quick_nav` WHERE `platform` = 'pc' AND `is_enable` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000404s ]
SHOW FULL COLUMNS FROM `s_goods_category` [ RunTime:0.002634s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `s_goods_category` WHERE `pid` = 0 AND `is_enable` = 1 AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000616s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `s_goods_category` WHERE `is_enable` = 1 AND `pid` = 57 AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000695s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `s_goods_category` WHERE `is_enable` = 1 AND `pid` = 872 AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000508s ]
SHOW FULL COLUMNS FROM `s_goods_photo` [ RunTime:0.001928s ]
SELECT `images` FROM `s_goods_photo` WHERE `goods_id` = 10 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.001304s ]
SHOW FULL COLUMNS FROM `s_goods` [ RunTime:0.002939s ]
SELECT * FROM `s_goods` WHERE `id` = 10 AND `is_delete_time` = 0 ORDER BY `id` DESC LIMIT 0,10 [ RunTime:0.001596s ]
SHOW FULL COLUMNS FROM `s_region` [ RunTime:0.001831s ]
SELECT `name`,`id` FROM `s_region` WHERE `id` = 11 [ RunTime:0.000967s ]
SELECT * FROM `s_goods_photo` WHERE `goods_id` = 10 AND `is_show` = 1 ORDER BY `sort` ASC [ RunTime:0.001346s ]
SHOW FULL COLUMNS FROM `s_goods_spec_type` [ RunTime:0.001552s ]
SELECT * FROM `s_goods_spec_type` WHERE `goods_id` = 10 ORDER BY `id` ASC [ RunTime:0.001111s ]
SHOW FULL COLUMNS FROM `s_goods_params` [ RunTime:0.001528s ]
SELECT * FROM `s_goods_params` WHERE `goods_id` = 10 ORDER BY `id` ASC [ RunTime:0.000879s ]
SHOW FULL COLUMNS FROM `s_goods_comments` [ RunTime:0.001941s ]
SELECT COUNT(*) AS think_count FROM `s_goods_comments` WHERE `goods_id` = 10 AND `is_show` = 1 LIMIT 1 [ RunTime:0.000933s ]
SHOW FULL COLUMNS FROM `s_goods_favor` [ RunTime:0.001352s ]
SELECT COUNT(*) AS think_count FROM `s_goods_favor` `f` INNER JOIN `s_goods` `g` ON `g`.`id`=`f`.`goods_id` WHERE `goods_id` = 10 LIMIT 1 [ RunTime:0.001636s ]
UPDATE `s_goods` SET `access_count` = `access_count` + 1 WHERE `id` = 10 [ RunTime:0.002279s ]
SELECT count(*) as count,`rating` FROM `s_goods_comments` WHERE `goods_id` = 10 AND `rating` > 0 GROUP BY `rating` [ RunTime:0.002568s ]
SELECT AVG(`rating`) AS think_avg FROM `s_goods_comments` WHERE `goods_id` = 10 AND `rating` > 0 LIMIT 1 [ RunTime:0.001446s ]
SELECT `id`,`title`,`title_color`,`price`,`images` FROM `s_goods` WHERE `is_shelves` = 1 AND `is_delete_time` = 0 ORDER BY `sales_count` DESC LIMIT 0,16 [ RunTime:0.001475s ]
SELECT `id`,`title`,`title_color`,`price`,`images` FROM `s_goods` WHERE `is_shelves` = 1 AND `is_delete_time` = 0 ORDER BY `access_count` DESC LIMIT 0,10 [ RunTime:0.001917s ]
动态评分
0.0