[ DB ] CONNECT:[ UseTime:0.000384s ] mysql:host=127.0.0.1;port=3306;dbname=cenje_cn;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `s_navigation` [ RunTime:0.001549s ]
[ 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.000083s ]
[ SQL ] SHOW COLUMNS FROM `s_link` [ RunTime:0.001123s ]
[ SQL ] SELECT * FROM `s_link` WHERE `is_enable` = 1 ORDER BY `sort` ASC [ RunTime:0.000081s ]
[ SQL ] SHOW COLUMNS FROM `s_goods` [ RunTime:0.001053s ]
[ SQL ] SELECT * FROM `s_goods` WHERE `id` = 20 AND `is_delete_time` = 0 ORDER BY `id` DESC LIMIT 0,10 [ RunTime:0.000325s ]
[ SQL ] SHOW COLUMNS FROM `s_region` [ RunTime:0.000925s ]
[ SQL ] SELECT `name` FROM `s_region` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000057s ]
[ SQL ] SHOW COLUMNS FROM `s_brand_new` [ RunTime:0.000814s ]
[ SQL ] SELECT `name` FROM `s_brand_new` WHERE `brand_category_id` = 1 LIMIT 1 [ RunTime:0.000073s ]
[ SQL ] SHOW COLUMNS FROM `s_goods_photo` [ RunTime:0.000872s ]
[ SQL ] SELECT * FROM `s_goods_photo` WHERE `goods_id` = 20 AND `is_show` = 1 ORDER BY `sort` ASC [ RunTime:0.000062s ]
[ SQL ] SHOW COLUMNS FROM `s_goods_spec_type` [ RunTime:0.000764s ]
[ SQL ] SELECT * FROM `s_goods_spec_type` WHERE `goods_id` = 20 ORDER BY `id` ASC [ RunTime:0.000056s ]
[ SQL ] SHOW COLUMNS FROM `s_goods_spec_value` [ RunTime:0.000778s ]
[ SQL ] SELECT `goods_spec_base_id` FROM `s_goods_spec_value` WHERE `goods_id` = 20 AND `value` IN ('多核AMP+架构') [ RunTime:0.000055s ]
[ SQL ] SELECT `goods_spec_base_id`,`value` FROM `s_goods_spec_value` WHERE `goods_spec_base_id` IN (826) [ RunTime:0.000039s ]
[ SQL ] SHOW COLUMNS FROM `s_goods_spec_base` [ RunTime:0.000799s ]
[ SQL ] SELECT * FROM `s_goods_spec_base` WHERE `id` = 826 LIMIT 1 [ RunTime:0.000053s ]
[ SQL ] SHOW COLUMNS FROM `s_goods_comments` [ RunTime:0.000804s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `s_goods_comments` WHERE `goods_id` = 20 AND `is_show` = 1 LIMIT 1 [ RunTime:0.000053s ]
[ SQL ] SHOW COLUMNS FROM `s_goods_favor` [ RunTime:0.000701s ]
[ 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` = 20 LIMIT 1 [ RunTime:0.000410s ]
[ SQL ] SELECT `rating`,count(*) as count FROM `s_goods_comments` WHERE `goods_id` = 20 AND `rating` > 0 GROUP BY `rating` [ RunTime:0.000058s ]
[ SQL ] SELECT AVG(`rating`) AS tp_avg FROM `s_goods_comments` WHERE `goods_id` = 20 AND `rating` > 0 LIMIT 1 [ RunTime:0.000043s ]
[ SQL ] UPDATE `s_goods` SET `access_count` = `access_count` + 1 WHERE `id` = 20 [ RunTime:0.001578s ]
[ 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.000347s ]
[ 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.000288s ]
动态评分
0.0