SHOW FULL COLUMNS FROM `tp_config` [ RunTime:0.000593s ]
SELECT * FROM `tp_config` [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000603s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.002370s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000678s ]
SELECT `id`,`cat_id`,`logo`,`is_hot` FROM `tp_brand` WHERE ( cat_id > 0 ) [ RunTime:0.000235s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000621s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 8 LIMIT 1 [ RunTime:0.000433s ]
UPDATE `tp_goods` SET `click_count` = 31 WHERE `goods_id` = 8 [ RunTime:0.002751s ]
SHOW FULL COLUMNS FROM `tp_prom_order` [ RunTime:0.000601s ]
SELECT * FROM `tp_prom_order` WHERE `start_time` <= 1736953123 AND `end_time` > 1736953123 AND `is_close` = 0 ORDER BY `id` DESC LIMIT 3 [ RunTime:0.000324s ]
SELECT `goods_id`,`goods_name`,`shop_price` FROM `tp_goods` WHERE ( is_recommend=1 and is_on_sale=1 and cat_id = 57 ) LIMIT 9 [ RunTime:0.000329s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000547s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 8 [ RunTime:0.000311s ]
SHOW FULL COLUMNS FROM `tp_ad_goods` [ RunTime:0.000599s ]
SELECT * FROM `tp_ad_goods` `g` LEFT JOIN `tp_ad_goods_config` `c` ON `c`.`ad_goods_id`=`g`.`ad_goods_id` WHERE ( g.enabled =1 AND g.end_time > 1736953123 AND g.start_time <1736953123 and( c.goods_id = 8 OR c.goods_id is null) ) GROUP BY `c`.`goods_id` ORDER BY `c`.`goods_id` ASC,`g`.`orderby` DESC LIMIT 1 [ RunTime:0.000395s ]
SHOW FULL COLUMNS FROM `tp_comment` [ RunTime:0.000573s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000546s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000383s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000323s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000303s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000328s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000358s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000334s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000376s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000335s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000390s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000332s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000334s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 8 LIMIT 1 [ RunTime:0.000272s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 77 LIMIT 1 [ RunTime:0.000229s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000519s ]
SELECT * FROM `tp_goods_attr` INNER JOIN `tp_goods_attribute` `b` ON `tp_goods_attr`.`attr_id`=`b`.`attr_id` WHERE `goods_id` = 8 AND `attr_index` = 1 ORDER BY `b`.`order` DESC [ RunTime:0.000493s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000415s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000340s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000317s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000290s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000298s ]
SHOW FULL COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.000484s ]
SELECT * FROM `tp_spec_goods_price` WHERE `goods_id` = 8 AND `goods_id` = 8 ORDER BY `item_id` [ RunTime:0.000349s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 8 [ RunTime:0.000301s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 8 [ RunTime:0.000261s ]