SELECT * FROM `tp_banner` WHERE `is_del` = 0 [ RunTime:0.000552s ]
SELECT * FROM `tp_cate` WHERE `is_del` = 0 ORDER BY `id` DESC [ RunTime:0.000376s ]
SELECT * FROM `tp_cate` WHERE `is_del` = 0 AND `parent_id` = 0 ORDER BY `id` DESC [ RunTime:0.000323s ]
SELECT * FROM `tp_pcset` [ RunTime:0.000354s ]
SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `tp_good` `good` LEFT JOIN `tp_good_sku` `sku` ON `good`.`id`=`sku`.`good_id` INNER JOIN `tp_good_cate` `cate` ON `good`.`id`=`cate`.`good_id` WHERE `is_del` = 0 AND `is_on_shelf` = 1 AND `cate_id` = '14' GROUP BY `good`.`id` ) `_group_count_` LIMIT 1 [ RunTime:0.003473s ]
SELECT good.*, AVG(sku.price) as price_avg FROM `tp_good` `good` LEFT JOIN `tp_good_sku` `sku` ON `good`.`id`=`sku`.`good_id` INNER JOIN `tp_good_cate` `cate` ON `good`.`id`=`cate`.`good_id` WHERE `is_del` = 0 AND `is_on_shelf` = 1 AND `cate_id` = '14' GROUP BY `good`.`id` ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.001017s ]
SELECT * FROM `tp_cate` WHERE `is_del` = 0 ORDER BY `id` DESC [ RunTime:0.000316s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 25 LIMIT 1 [ RunTime:0.000372s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 25 LIMIT 1 [ RunTime:0.000191s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 24 LIMIT 1 [ RunTime:0.000189s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 24 LIMIT 1 [ RunTime:0.000202s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 23 LIMIT 1 [ RunTime:0.000199s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 23 LIMIT 1 [ RunTime:0.000156s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 22 LIMIT 1 [ RunTime:0.000251s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 22 LIMIT 1 [ RunTime:0.000303s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 21 LIMIT 1 [ RunTime:0.000190s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 21 LIMIT 1 [ RunTime:0.000169s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 19 LIMIT 1 [ RunTime:0.000192s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 19 LIMIT 1 [ RunTime:0.000167s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 18 LIMIT 1 [ RunTime:0.000180s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 18 LIMIT 1 [ RunTime:0.000181s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 17 LIMIT 1 [ RunTime:0.000167s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 17 LIMIT 1 [ RunTime:0.000175s ]