SHOW FULL COLUMNS FROM `s_navigation` [ RunTime:0.001774s ]
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.000297s ]
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.000420s ]
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.000273s ]
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.000363s ]
SHOW FULL COLUMNS FROM `s_quick_nav` [ RunTime:0.001847s ]
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.000270s ]
SHOW FULL COLUMNS FROM `s_goods_category` [ RunTime:0.001709s ]
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.000263s ]
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.000318s ]
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.000283s ]
SHOW FULL COLUMNS FROM `s_goods` [ RunTime:0.001880s ]
SELECT * FROM `s_goods` WHERE `id` = 1 AND `is_delete_time` = 0 ORDER BY `id` DESC LIMIT 0,10 [ RunTime:0.001727s ]
SHOW FULL COLUMNS FROM `s_region` [ RunTime:0.001062s ]
SELECT `name`,`id` FROM `s_region` WHERE `id` = 23 [ RunTime:0.000479s ]
SHOW FULL COLUMNS FROM `s_goods_photo` [ RunTime:0.001003s ]
SELECT * FROM `s_goods_photo` WHERE `goods_id` = 1 AND `is_show` = 1 ORDER BY `sort` ASC [ RunTime:0.000899s ]
SHOW FULL COLUMNS FROM `s_goods_spec_type` [ RunTime:0.000905s ]
SELECT * FROM `s_goods_spec_type` WHERE `goods_id` = 1 ORDER BY `id` ASC [ RunTime:0.001058s ]
SHOW FULL COLUMNS FROM `s_goods_spec_value` [ RunTime:0.000668s ]
SELECT `goods_spec_base_id` FROM `s_goods_spec_value` WHERE `goods_id` = 1 AND `value` = '模圣软件个人版-加密狗(12年)' [ RunTime:0.000975s ]
SELECT `goods_spec_base_id`,`value` FROM `s_goods_spec_value` WHERE `goods_spec_base_id` = 1993 ORDER BY `id` ASC [ RunTime:0.000348s ]
SHOW FULL COLUMNS FROM `s_goods_spec_base` [ RunTime:0.001349s ]
SELECT * FROM `s_goods_spec_base` WHERE `id` = 1993 LIMIT 1 [ RunTime:0.001736s ]
SELECT `goods_spec_base_id` FROM `s_goods_spec_value` WHERE `goods_id` = 1 AND `value` = '模圣软件旗舰版-加密狗(永久)' [ RunTime:0.000261s ]
SELECT `goods_spec_base_id`,`value` FROM `s_goods_spec_value` WHERE `goods_spec_base_id` = 1994 ORDER BY `id` ASC [ RunTime:0.000216s ]
SELECT * FROM `s_goods_spec_base` WHERE `id` = 1994 LIMIT 1 [ RunTime:0.000222s ]
SELECT `goods_spec_base_id` FROM `s_goods_spec_value` WHERE `goods_id` = 1 AND `value` = '模圣个人版加密狗(12年)升级到旗舰版(永久)' [ RunTime:0.000776s ]
SELECT `goods_spec_base_id`,`value` FROM `s_goods_spec_value` WHERE `goods_spec_base_id` = 1995 ORDER BY `id` ASC [ RunTime:0.000799s ]
SELECT * FROM `s_goods_spec_base` WHERE `id` = 1995 LIMIT 1 [ RunTime:0.000933s ]
SHOW FULL COLUMNS FROM `s_goods_params` [ RunTime:0.000534s ]
SELECT * FROM `s_goods_params` WHERE `goods_id` = 1 ORDER BY `id` ASC [ RunTime:0.000437s ]
SHOW FULL COLUMNS FROM `s_goods_comments` [ RunTime:0.000576s ]
SELECT COUNT(*) AS think_count FROM `s_goods_comments` WHERE `goods_id` = 1 AND `is_show` = 1 LIMIT 1 [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `s_goods_favor` [ RunTime:0.000425s ]
SELECT COUNT(*) AS think_count FROM `s_goods_favor` `f` INNER JOIN `s_goods` `g` ON `g`.`id`=`f`.`goods_id` WHERE `goods_id` = 1 LIMIT 1 [ RunTime:0.000554s ]
UPDATE `s_goods` SET `access_count` = `access_count` + 1 WHERE `id` = 1 [ RunTime:0.006647s ]
SELECT count(*) as count,`rating` FROM `s_goods_comments` WHERE `goods_id` = 1 AND `rating` > 0 GROUP BY `rating` [ RunTime:0.000564s ]
SELECT AVG(`rating`) AS think_avg FROM `s_goods_comments` WHERE `goods_id` = 1 AND `rating` > 0 LIMIT 1 [ RunTime:0.000371s ]
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.000655s ]
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.000311s ]
动态评分
0.0