SHOW FULL COLUMNS FROM `sxo_navigation` [ RunTime:0.001056s ]
SELECT `id`,`pid`,`name`,`url`,`value`,`data_type`,`is_new_window_open` FROM `sxo_navigation` WHERE `nav_type` = 'header' AND `is_show` = 1 AND `pid` = 0 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000192s ]
SELECT `id`,`pid`,`name`,`url`,`value`,`data_type`,`is_new_window_open` FROM `sxo_navigation` WHERE `nav_type` = 'header' AND `is_show` = 1 AND `pid` IN (54,17) ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000182s ]
SELECT `id`,`pid`,`name`,`url`,`value`,`data_type`,`is_new_window_open` FROM `sxo_navigation` WHERE `nav_type` = 'footer' AND `is_show` = 1 AND `pid` = 0 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000239s ]
SELECT `id`,`pid`,`name`,`url`,`value`,`data_type`,`is_new_window_open` FROM `sxo_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.000239s ]
SHOW FULL COLUMNS FROM `sxo_quick_nav` [ RunTime:0.000812s ]
SELECT `id`,`name`,`images_url`,`event_value`,`event_type`,`bg_color` FROM `sxo_quick_nav` WHERE `platform` = 'pc' AND `is_enable` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `sxo_goods_category` [ RunTime:0.000945s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `pid` = 0 AND `is_enable` = 1 AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000283s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` = 1 AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000230s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` IN (58,59,60,61,62,63,64,65,66,67,102) AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000332s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` = 57 AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000234s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` IN (872,873,874,875,876,896,899) AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000235s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` = 3 AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000248s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` IN (236,237,238,239,240,241,242,243,244,245) AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000399s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` = 2 AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000328s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` IN (304,305,306,307,308,309,310,311,188,189,190,191,192) AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000514s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` = 7 AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000320s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` IN (908,452,453,454,455,456,457,458) AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000363s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` = 52 AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000325s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` IN (512,513,514,515,516,517,518,519,520,511) AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000351s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` = 53 AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000261s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` IN (572,573,574,575,576,577,578,579) AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000346s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` = 54 AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000256s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` IN (639,640,641,642,643,644,645,646) AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000391s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` = 55 AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000335s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` IN (736,737,738,739,740,741,742,743,744,745,746,747) AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000330s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` = 56 AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000306s ]
SELECT `id`,`pid`,`icon`,`name`,`vice_name`,`describe`,`bg_color`,`big_images`,`sort`,`is_home_recommended`,`seo_title`,`seo_keywords`,`seo_desc` FROM `sxo_goods_category` WHERE `is_enable` = 1 AND `pid` IN (798,799,800,801,802,803,804,805) AND `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000429s ]
SHOW FULL COLUMNS FROM `sxo_goods` [ RunTime:0.001422s ]
SELECT * FROM `sxo_goods` WHERE `id` = 271 AND `is_delete_time` = 0 ORDER BY `id` DESC LIMIT 0,10 [ RunTime:0.000785s ]
SHOW FULL COLUMNS FROM `sxo_goods_photo` [ RunTime:0.000714s ]
SELECT * FROM `sxo_goods_photo` WHERE `goods_id` = 271 AND `is_show` = 1 ORDER BY `sort` ASC [ RunTime:0.000688s ]
SHOW FULL COLUMNS FROM `sxo_goods_spec_type` [ RunTime:0.000629s ]
SELECT * FROM `sxo_goods_spec_type` WHERE `goods_id` = 271 ORDER BY `id` ASC [ RunTime:0.000511s ]
SHOW FULL COLUMNS FROM `sxo_goods_spec_value` [ RunTime:0.000776s ]
SELECT `goods_spec_base_id` FROM `sxo_goods_spec_value` WHERE `goods_id` = 271 AND `value` = '小米净水器三合一滤芯' [ RunTime:0.000512s ]
SELECT `goods_spec_base_id`,`value` FROM `sxo_goods_spec_value` WHERE `goods_spec_base_id` = 2770 ORDER BY `id` ASC [ RunTime:0.000456s ]
SHOW FULL COLUMNS FROM `sxo_goods_spec_base` [ RunTime:0.000784s ]
SELECT * FROM `sxo_goods_spec_base` WHERE `id` = 2770 LIMIT 1 [ RunTime:0.000457s ]
SELECT `goods_spec_base_id` FROM `sxo_goods_spec_value` WHERE `goods_id` = 271 AND `value` = '小米净水器1A反渗透滤芯(400G)' [ RunTime:0.000498s ]
SELECT `goods_spec_base_id`,`value` FROM `sxo_goods_spec_value` WHERE `goods_spec_base_id` = 2771 ORDER BY `id` ASC [ RunTime:0.000372s ]
SELECT * FROM `sxo_goods_spec_base` WHERE `id` = 2771 LIMIT 1 [ RunTime:0.000447s ]
SELECT `goods_spec_base_id` FROM `sxo_goods_spec_value` WHERE `goods_id` = 271 AND `value` = '小米净水器 反渗透滤芯(500G)' [ RunTime:0.000509s ]
SELECT `goods_spec_base_id`,`value` FROM `sxo_goods_spec_value` WHERE `goods_spec_base_id` = 2772 ORDER BY `id` ASC [ RunTime:0.000578s ]
SELECT * FROM `sxo_goods_spec_base` WHERE `id` = 2772 LIMIT 1 [ RunTime:0.000371s ]
SHOW FULL COLUMNS FROM `sxo_goods_params` [ RunTime:0.000871s ]
SELECT * FROM `sxo_goods_params` WHERE `goods_id` = 271 ORDER BY `id` ASC [ RunTime:0.000659s ]
SHOW FULL COLUMNS FROM `sxo_goods_comments` [ RunTime:0.000804s ]
SELECT COUNT(*) AS think_count FROM `sxo_goods_comments` WHERE `goods_id` = 271 AND `is_show` = 1 LIMIT 1 [ RunTime:0.000500s ]
SHOW FULL COLUMNS FROM `sxo_goods_favor` [ RunTime:0.000665s ]
SELECT COUNT(*) AS think_count FROM `sxo_goods_favor` `f` INNER JOIN `sxo_goods` `g` ON `g`.`id`=`f`.`goods_id` WHERE `goods_id` = 271 LIMIT 1 [ RunTime:0.000535s ]
UPDATE `sxo_goods` SET `access_count` = `access_count` + 1 WHERE `id` = 271 [ RunTime:0.002752s ]
SELECT count(*) as count,`rating` FROM `sxo_goods_comments` WHERE `goods_id` = 271 AND `rating` > 0 GROUP BY `rating` [ RunTime:0.000755s ]
SELECT AVG(`rating`) AS think_avg FROM `sxo_goods_comments` WHERE `goods_id` = 271 AND `rating` > 0 LIMIT 1 [ RunTime:0.000370s ]
SELECT `id`,`title`,`title_color`,`price`,`images` FROM `sxo_goods` WHERE `is_delete_time` = 0 AND `is_shelves` = 1 ORDER BY `sales_count` DESC LIMIT 0,16 [ RunTime:0.000560s ]
SELECT `id`,`title`,`title_color`,`price`,`images` FROM `sxo_goods` WHERE `is_delete_time` = 0 AND `is_shelves` = 1 ORDER BY `access_count` DESC LIMIT 0,10 [ RunTime:0.000542s ]
动态评分
5.0