[ DB ] CONNECT:[ UseTime:0.001152s ] mysql:host=127.0.0.1;port=3306;dbname=shopxo;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `s_navigation` [ RunTime:0.001308s ]
[ SQL ] 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` [ RunTime:0.000285s ]
[ SQL ] 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` [ RunTime:0.000206s ]
[ SQL ] SHOW COLUMNS FROM `s_search_history` [ RunTime:0.000429s ]
[ SQL ] SELECT `keywords` FROM `s_search_history` WHERE `keywords` <> '' GROUP BY `keywords` LIMIT 10 [ RunTime:0.001553s ]
[ SQL ] SHOW COLUMNS FROM `s_link` [ RunTime:0.000421s ]
[ SQL ] SELECT * FROM `s_link` WHERE `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000199s ]
[ SQL ] SHOW COLUMNS FROM `s_goods` [ RunTime:0.000516s ]
[ SQL ] SELECT * FROM `s_goods` WHERE `id` = 16 AND `is_delete_time` = 0 ORDER BY `id` DESC LIMIT 0,10 [ RunTime:0.000242s ]
[ SQL ] SHOW COLUMNS FROM `s_brand` [ RunTime:0.000422s ]
[ SQL ] SELECT `name` FROM `s_brand` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000118s ]
[ SQL ] SHOW COLUMNS FROM `s_goods_photo` [ RunTime:0.000375s ]
[ SQL ] SELECT * FROM `s_goods_photo` WHERE `goods_id` = 16 AND `is_show` = 1 ORDER BY `sort` ASC [ RunTime:0.000889s ]
[ SQL ] SHOW COLUMNS FROM `s_goods_spec_type` [ RunTime:0.000348s ]
[ SQL ] SELECT * FROM `s_goods_spec_type` WHERE `goods_id` = 16 ORDER BY `id` ASC [ RunTime:0.000141s ]
[ SQL ] SHOW COLUMNS FROM `s_goods_spec_value` [ RunTime:0.001763s ]
[ SQL ] SELECT `goods_spec_base_id` FROM `s_goods_spec_value` WHERE `goods_id` = 16 AND `value` IN ('粉色') [ RunTime:0.002136s ]
[ SQL ] SELECT `goods_spec_base_id`,`value` FROM `s_goods_spec_value` WHERE `goods_spec_base_id` IN (787) [ RunTime:0.000131s ]
[ SQL ] SHOW COLUMNS FROM `s_goods_spec_base` [ RunTime:0.000399s ]
[ SQL ] SELECT * FROM `s_goods_spec_base` WHERE `id` = 787 LIMIT 1 [ RunTime:0.000147s ]
[ SQL ] SELECT `goods_spec_base_id` FROM `s_goods_spec_value` WHERE `goods_id` = 16 AND `value` IN ('蓝色') [ RunTime:0.000136s ]
[ SQL ] SELECT `goods_spec_base_id`,`value` FROM `s_goods_spec_value` WHERE `goods_spec_base_id` IN (788) [ RunTime:0.000130s ]
[ SQL ] SELECT * FROM `s_goods_spec_base` WHERE `id` = 788 LIMIT 1 [ RunTime:0.000118s ]
[ SQL ] SHOW COLUMNS FROM `s_goods_comments` [ RunTime:0.000418s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `s_goods_comments` WHERE `goods_id` = 16 AND `is_show` = 1 LIMIT 1 [ RunTime:0.000153s ]
[ SQL ] SHOW COLUMNS FROM `s_goods_favor` [ RunTime:0.000357s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `s_goods_favor` `f` INNER JOIN `s_goods` `g` ON `g`.`id`=`f`.`goods_id` WHERE `goods_id` = 16 LIMIT 1 [ RunTime:0.000151s ]
[ SQL ] SELECT `rating`,count(*) as count FROM `s_goods_comments` WHERE `goods_id` = 16 AND `rating` > 0 GROUP BY `rating` [ RunTime:0.000179s ]
[ SQL ] SELECT AVG(`rating`) AS tp_avg FROM `s_goods_comments` WHERE `goods_id` = 16 AND `rating` > 0 LIMIT 1 [ RunTime:0.000832s ]
[ SQL ] UPDATE `s_goods` SET `access_count` = `access_count` + 1 WHERE `id` = 16 [ RunTime:0.006429s ]
[ SQL ] SELECT `id`,`title`,`title_color`,`price`,`images` FROM `s_goods` WHERE `is_delete_time` = 0 AND `is_shelves` = 1 ORDER BY `access_count` DESC LIMIT 0,10 [ RunTime:0.000300s ]
[ SQL ] SELECT `id`,`title`,`title_color`,`price`,`images`,`home_recommended_images` FROM `s_goods` WHERE `is_delete_time` = 0 AND `is_shelves` = 1 AND `is_home_recommended` = 1 ORDER BY `sales_count` DESC LIMIT 0,16 [ RunTime:0.000308s ]
动态评分
0.0